Denys Vuika f7e6ef55a2 demo for ng1 app hosting ng2 components
Simple project demonstrating ng2 component hosting within ng1-based
application (based on official angular-seed repo).
2016-04-06 15:23:19 +01:00

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() {
}]);