Skip to content

Instantly share code, notes, and snippets.

@hcabnettek
Last active December 18, 2015 00:59
Show Gist options
  • Save hcabnettek/5701059 to your computer and use it in GitHub Desktop.
Save hcabnettek/5701059 to your computer and use it in GitHub Desktop.
!function(ng){
'use strict';
var module = ng.module('app.controllers', []);
(function($ng, $module) {
function Controller($scope, requestContext) {
$scope.setWindowTitle = function (title) {
$scope.windowTitle = title;
};
}
$module.controller("AppController", ["$scope", "requestContext", Controller]);
})(ng, module);
}(angular)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment