blob: 4662f6b97c9df9d33caa1f9fed3f13ccbf3494d8 [file] [log] [blame]
module.exports = function standaloneDirective($rootScope, $location) {
return {
restrict: 'AE',
link: function() {
//$rootScope.standalone = $window.history.length < 2
var standalone = $location.search().standalone
$rootScope.standalone = standalone
}
}
}