Skip to content

Instantly share code, notes, and snippets.

@kutsaniuk
Created October 20, 2017 12:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kutsaniuk/9af46967265ebfc3a5253aff7c7a3d7c to your computer and use it in GitHub Desktop.
Save kutsaniuk/9af46967265ebfc3a5253aff7c7a3d7c to your computer and use it in GitHub Desktop.
(function () {
'use strict';
angular
.module('about', [])
.config(config);
config.$inject = ['$stateProvider', '$urlRouterProvider'];
function config($stateProvider, $urlRouterProvider) {
$stateProvider
.state('main.about', {
url: '',
templateUrl: '../views/about/about.html',
controller: 'AboutCtrl as vm'
});
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment