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
authRouteProvider.$inject = ['$routeProvider']; | |
function authRouteProvider ($routeProvider) { | |
/** | |
* Creates a controller bound to the route, or wraps the controller in param | |
* so the authentication check is run before the original controller is executed | |
* @param currentController | |
* @return {Function} The wrapper controller | |
*/ | |
function redirectCtrlFactory (currentController) { | |
_ctrl.$inject = ['currentUser__', 'userRole__', '$location']; |
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
'use strict'; | |
/* Google Calendar API Module */ | |
angular.module('myApp.calendar', []). | |
value('resp', { | |
nullMethod: function() { | |
return 'value'; | |
}, | |
handleClientLoad: function() { |
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
/* | |
* Dependencies | |
* | |
* You must reference the angular-resource js script file. | |
* Then you must declare a module dependency on 'ngResource' via angular.module('myapp', ['ngResource']). | |
*/ | |
// Parameters | |
$resource(url[, paramDefaults][, actions]); |
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
<!doctype html> | |
<!-- | |
/* | |
* Jason Zerbe | |
* Copyright 2012 | |
* Build-Id: EMPTY | |
* | |
* any comments before doctype will set IE9 to quirks mode | |
*/ | |
--> |