diff --git a/example/builtins/README.md b/example/builtins/README.md new file mode 100644 index 0000000000..7e34db8b63 --- /dev/null +++ b/example/builtins/README.md @@ -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 \ No newline at end of file diff --git a/example/builtins/bundle.json b/example/builtins/bundle.json new file mode 100644 index 0000000000..5aa0f821a0 --- /dev/null +++ b/example/builtins/bundle.json @@ -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": [ + + ] + } +} \ No newline at end of file diff --git a/example/builtins/res/templates/example.html b/example/builtins/res/templates/example.html new file mode 100644 index 0000000000..2aceaa7d30 --- /dev/null +++ b/example/builtins/res/templates/example.html @@ -0,0 +1 @@ +

Hello, world! I am the default route.

\ No newline at end of file