Created
August 5, 2013 18:22
-
-
Save leandromoreira/6158173 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
//my initial config | |
app.config(["$routeProvider", function($routeProvider){ | |
$routeProvider | |
.when('/list_streams', { | |
templateUrl: 'assets/angular/views/target_bitrates.html', | |
controller: 'TargetBitratesCtrl' | |
}) | |
.when('/transmissions',{ | |
templateUrl: 'assets/angular/views/create_live_media.html', | |
controller: 'TargetBitratesCtrl' | |
}) | |
.otherwise({redirectTo: '/list_streams'}); | |
}]); | |
//views | |
<li><a href="/#list_streams">List streams</a></li> | |
<li><a href="/#transmissions">Transmissions</a></li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment