You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-5
Original file line number
Diff line number
Diff line change
@@ -26,14 +26,15 @@ to change. Using it in a project that requires guaranteed stability is not recom
26
26
27
27
## Get Started
28
28
29
-
**(1)** Get UI-Router in one of 3 ways:
29
+
**(1)** Get UI-Router in one of 4 ways:
30
30
- clone & [build](#developing) this repository
31
31
-[download the release](http://angular-ui.github.io/ui-router/release/angular-ui-router.js) (or [minified](http://angular-ui.github.io/ui-router/release/angular-ui-router.min.js))
32
-
- or via **[Bower](http://bower.io/)**: by running `$ bower install angular-ui-router` from your console
32
+
- via **[Bower](http://bower.io/)**: by running `$ bower install angular-ui-router` from your console
33
+
- or via **[Component](https://github.com/component/component)**: by running `$ component install angular-ui/ui-router` from your console
33
34
34
-
**(2)** Include `angular-ui-router.js` (or `angular-ui-router.min.js`) in your `index.html`, after including Angular itself
35
+
**(2)** Include `angular-ui-router.js` (or `angular-ui-router.min.js`) in your `index.html`, after including Angular itself (For Component users: ignore this step)
35
36
36
-
**(3)** Add `'ui.router'` to your main module's list of dependencies
37
+
**(3)** Add `'ui.router'` to your main module's list of dependencies (For Component users: replace `'ui.router'` with `require('angular-ui-router')`)
37
38
38
39
When you're done, your setup should look similar to the following:
39
40
@@ -46,6 +47,8 @@ When you're done, your setup should look similar to the following:
0 commit comments