Sha256: ecb73f5c9fdb8ca5f8d20a91f87caaaf6bad6c40f7fa901b501ba2c99565c0a5
Contents?: true
Size: 654 Bytes
Versions: 2
Compression:
Stored size: 654 Bytes
Contents
(function(){ 'use strict'; var app = angular.module('herald' , [ 'ui.router', 'herald.router', 'herald.page', 'herald.settings', 'herald.nodes', 'herald.node', 'herald.report', 'herald.filters', 'herald.artifact' ]); app.controller('AppController', ['Page', '$rootScope', 'Settings', '$scope', function(Page, $rootScope, Settings, $scope) { var ctrl = this; $scope.page = null; $scope.target = null; $scope.settings = Settings; $rootScope.$on('Page::titleChanged', function(event, title, target) { $scope.page = title; $scope.target = target; }); }]); })();
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
puppet-herald-0.8.1 | lib/puppet-herald/public/app.js |
puppet-herald-0.8.0 | lib/puppet-herald/public/app.js |