Skip to content

Getting started

Nicolas Cuillery edited this page Apr 10, 2014 · 8 revisions

Installation

angular-breadcrumb requires ui-router in minimal version 0.2.0 (when the method $state.get was added).

Download the production version or the development version.

Or download it with bower : open a terminal and run

bower install angular-breadcrumb

Include the js your web page:

<script src="[...]angular-breadcrumb[.min].js"></script>

Add dependency to your app module:

'ncy-angular-breadcrumb'

The module is now installed and active. It exposes the $breadcrumb service and the ncy-breadcrumb directive.

Configuration

Use the directive ncy-breadcrumb

<div ncy-breadcrumb></div>
Clone this wiki locally