mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 06:03:08 +00:00
d3c979fa6f
Add example of binding a directive with Angular using declarative syntax. WTD-518.
27 lines
686 B
JSON
27 lines
686 B
JSON
{
|
|
"name": "Angular Built-ins Example",
|
|
"description": "Example showing how to declare extensions with built-in support from Angular.",
|
|
"extensions": {
|
|
"controllers": [
|
|
{
|
|
"key": "ExampleController",
|
|
"implementation": "ExampleController.js",
|
|
"depends": [ "$scope" ]
|
|
}
|
|
],
|
|
"directives": [
|
|
{
|
|
"key": "exampleDirective",
|
|
"implementation": "ExampleDirective.js"
|
|
}
|
|
],
|
|
"routes": [
|
|
{
|
|
"templateUrl": "templates/example.html"
|
|
}
|
|
],
|
|
"services": [
|
|
|
|
]
|
|
}
|
|
} |