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
{{ message }}
This repository was archived by the owner on Jul 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,8 +68,7 @@ Misc:
68
68
---
69
69
## Notes
70
70
#### Automatically Required Files
71
-
* All parsed files containing `angular.module(...).run(...)` and `angular.module(...).config(...)` will be required and treated like a *seed* file.
72
-
* Parsed files that are depended on by a *seed* file will be required. This includes *services/factories/controllers/etc.*, *templates*, *filters*, and *animations*.
71
+
TODO
73
72
74
73
#### Enforced Conventions:
75
74
* Must use the `angular.module` for defining items
@@ -97,7 +96,13 @@ Misc:
97
96
```
98
97
module.exports = {
99
98
seed: [
100
-
"./index.html.ejs"
99
+
"./index.html.ejs",
100
+
101
+
"./shared/app/app.js",
102
+
"./shared/app/routes.js",
103
+
104
+
"./local/app/app.js",
105
+
"./local/app/routes.js"
101
106
],
102
107
options: {
103
108
parseExclude: [
@@ -241,7 +246,6 @@ gulp.task("default", function () {
241
246
```
242
247
243
248
##### shared/app/app.js (local/app/app.js can be similar)
244
-
This file is automatically included because of the `angular.module(...).run(...)`
245
249
```
246
250
angular.module("myAngularApp").run(["SomeService", "SomeLibrary", function (SomeService, SomeLibrary) {
247
251
// SomeService will be looked for and included in services.js
@@ -250,7 +254,6 @@ angular.module("myAngularApp").run(["SomeService", "SomeLibrary", function (Some
250
254
```
251
255
252
256
##### shared/app/routes.js (local/app/routes.js can be similar)
253
-
This file is automatically included because of the `angular.module(...).config(...)`
0 commit comments