Created
October 20, 2017 12:12
-
-
Save kutsaniuk/116653129bf650a29340fc33813ac2a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
'use strict'; | |
angular | |
.module('speakers', []) | |
.config(config); | |
config.$inject = ['$stateProvider', '$urlRouterProvider']; | |
function config($stateProvider, $urlRouterProvider) { | |
$stateProvider | |
.state('main.speakers', { | |
url: 'speakers', | |
title: 'Speakers', | |
templateUrl: '../views/speakers/speakers.html', | |
controller: 'SpeakersCtrl as vm' | |
}); | |
} | |
})(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment