2014-11-04 22:40:04 +00:00
|
|
|
{
|
|
|
|
"name": "Angular Built-ins Example",
|
|
|
|
"description": "Example showing how to declare extensions with built-in support from Angular.",
|
2014-11-05 00:13:49 +00:00
|
|
|
"sources": "src",
|
2014-11-04 22:40:04 +00:00
|
|
|
"extensions": {
|
|
|
|
"controllers": [
|
2014-11-04 23:28:53 +00:00
|
|
|
{
|
|
|
|
"key": "ExampleController",
|
|
|
|
"implementation": "ExampleController.js",
|
2014-11-05 00:13:49 +00:00
|
|
|
"depends": [ "$scope", "exampleService" ]
|
2014-11-04 23:28:53 +00:00
|
|
|
}
|
2014-11-04 22:40:04 +00:00
|
|
|
],
|
|
|
|
"directives": [
|
2014-11-05 00:02:36 +00:00
|
|
|
{
|
|
|
|
"key": "exampleDirective",
|
2014-11-05 20:40:53 +00:00
|
|
|
"implementation": "ExampleDirective.js",
|
|
|
|
"depends": [ "examples[]" ]
|
2014-11-05 00:02:36 +00:00
|
|
|
}
|
2014-11-04 22:40:04 +00:00
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"templateUrl": "templates/example.html"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"services": [
|
2014-11-05 00:13:49 +00:00
|
|
|
{
|
|
|
|
"key": "exampleService",
|
|
|
|
"implementation": "ExampleService.js"
|
|
|
|
}
|
2014-11-04 22:40:04 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|