(function (angular) {
    'use strict';

    angular
        .module('app')
        .controller('MyController', MyController);

    MyController.$inject = ['$scope']; 

    function MyController ($scope) {
        $scope.title = 'MyController';

        activate();

        function activate() { }
    }
})(window.angular);