mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Simple project demonstrating ng2 component hosting within ng1-based application (based on official angular-seed repo).
15 lines
272 B
JavaScript
15 lines
272 B
JavaScript
'use strict';
|
|
|
|
angular.module('myApp.view3', ['ngRoute'])
|
|
|
|
.config(['$routeProvider', function($routeProvider) {
|
|
$routeProvider.when('/view3', {
|
|
templateUrl: 'app/view3/view3.html',
|
|
controller: 'View3Ctrl'
|
|
});
|
|
}])
|
|
|
|
.controller('View3Ctrl', [function() {
|
|
|
|
}]);
|