[Example] Add example bundle for built-ins

Add bundle which will serve as an example of how to
declare the presence of Angular built-ins as extensions
which will be recognized by the framework layer.

Also useful for generally verifying that functionality
provided by framework layer provides sufficient support
for other bundles to expose application features.
WTD-518.
This commit is contained in:
Victor Woeltjen 2014-11-04 14:40:04 -08:00
parent 86df248096
commit b383be0711
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,8 @@
This bundle is intended to serve as an example of registering
extensions which are mapped directly to built-in Angular features.
These are:
* Controllers
* Directives
* Routes
* Services

View File

@ -0,0 +1,20 @@
{
"name": "Angular Built-ins Example",
"description": "Example showing how to declare extensions with built-in support from Angular.",
"extensions": {
"controllers": [
],
"directives": [
],
"routes": [
{
"templateUrl": "templates/example.html"
}
],
"services": [
]
}
}

View File

@ -0,0 +1 @@
<p>Hello, world! I am the default route.</p>