AzureAD/azure-activedirectory-library-for-js — pull request #34 by BartVDACodeware (2014-11-13 18:43:39+00:00)
Title: Added state change handler for ui-router

Added a state change handler for the $stateChangeStart event

Configuration example:

.config(function ($stateProvider, adalAuthenticationServiceProvider) {
$stateProvider.state('app.userdata', {
url: "/myurl",
views: {
'menuContent': {
templateUrl: "app/someView.html"
}
},
requireADLogin: true,
})

note: this is my first pull request ever, so any comment is more as welcom