 (function () {
     function config($stateProvider, $locationProvider) {
         $locationProvider
             .html5Mode({
                 enabled: true,
                 requireBase: false
             });
         $stateProvider
             .state('landing', {
                 url: '/',
                 controller: 'LandingCtrl as landing',
                 templateUrl: '/templates/landing.html'
             })
             .state('collection', {
                 url: '/colletion',
                 controller: 'CollectionCtrl as collection',
                 templateUrl: '/templates/collection.html'
             })
             .state('album', {
                 url: '/album',
                 controller: 'AlbumCtrl as album',
                 templateUrl: '/templates/album.html'
             });
     }
     angular
         .module('blocJams', ['ui.router'])
         .config(config);
 })();