File tree Expand file tree Collapse file tree 11 files changed +11
-11
lines changed Expand file tree Collapse file tree 11 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Description:
3
3
Docs: http://docs.angularjs.org/guide/dev_guide.services.creating_services
4
4
5
5
Example:
6
- yo angular:constant thing
6
+ yo angular-require :constant thing
7
7
8
8
This will create:
9
9
app/scripts/services/thing.js
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Description:
2
2
Creates a new Angular controller
3
3
4
4
Example:
5
- yo angular:controller Thing
5
+ yo angular-require :controller Thing
6
6
7
7
This will create:
8
8
app/scripts/controllers/thing-ctrl.js
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Description:
2
2
Creates a new AngularJS decorator for a specified service
3
3
4
4
Example:
5
- yo angular:decorator serviceName
5
+ yo angular-require :decorator serviceName
6
6
7
7
This will create:
8
8
app/scripts/decorators/serviceNameDecorator.js
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Description:
2
2
Creates a new Angular directive
3
3
4
4
Example:
5
- yo angular:directive thing
5
+ yo angular-require :directive thing
6
6
7
7
This will create:
8
8
app/scripts/directives/thing.js
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Description:
3
3
Docs: http://docs.angularjs.org/guide/dev_guide.services.creating_services
4
4
5
5
Example:
6
- yo angular:factory thing
6
+ yo angular-require :factory thing
7
7
8
8
This will create:
9
9
app/scripts/services/thing.js
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Description:
2
2
Creates a new AngularJS filter
3
3
4
4
Example:
5
- yo angular:filter thing
5
+ yo angular-require :filter thing
6
6
7
7
This will create:
8
8
app/scripts/filters/thing.js
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Description:
3
3
Docs: http://docs.angularjs.org/guide/dev_guide.services.creating_services
4
4
5
5
Example:
6
- yo angular:provider thing
6
+ yo angular-require :provider thing
7
7
8
8
This will create:
9
9
app/scripts/services/thing.js
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Description:
2
2
Creates a new AngularJS route
3
3
4
4
Example:
5
- yo angular:route thing [--uri=path_to/thing]
5
+ yo angular-require :route thing [--uri=path_to/thing]
6
6
7
7
This will create:
8
8
app/scripts/controllers/thing.js
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Description:
3
3
Docs: http://docs.angularjs.org/guide/dev_guide.services.creating_services
4
4
5
5
Example:
6
- yo angular:service thing
6
+ yo angular-require :service thing
7
7
8
8
This will create:
9
9
app/scripts/services/thing.js
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Description:
3
3
Docs: http://docs.angularjs.org/guide/dev_guide.services.creating_services
4
4
5
5
Example:
6
- yo angular:value thing
6
+ yo angular-require :value thing
7
7
8
8
This will create:
9
9
app/scripts/services/thing.js
You can’t perform that action at this time.
0 commit comments