File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 5555 < div class ='header-text '>
5656 Slice, Filter & Explore CrunchBase Data
5757 </ div >
58- < video preload ="" width ="720 " height ="450 ">
58+ < video ng-if =" !shared_results " preload ="" width ="720 " height ="450 ">
5959 < source src ="data/NYConsumerWebCosShortIntro.webm " type ="video/webm ">
6060 < source src ="data/NYConsumerWebCosShortIntro.mp4 " type ="video/mp4 ">
6161 </ video >
Original file line number Diff line number Diff line change @@ -41,12 +41,14 @@ angular.module('crunchinatorApp', [
4141. run ( function run ( ) {
4242} )
4343
44- . controller ( 'AppCtrl' , function AppCtrl ( $scope ) {
44+ . controller ( 'AppCtrl' , function AppCtrl ( $scope , $location ) {
4545 $scope . isIE = function ( ) {
4646 var myNav = navigator . userAgent . toLowerCase ( ) ;
4747 return ( myNav . indexOf ( 'msie' ) !== - 1 ) ? parseInt ( myNav . split ( 'msie' ) [ 1 ] ) : false ;
4848 } ;
4949
50+ $scope . shared_results = ! ! $location . search ( ) . filters ;
51+
5052 $scope . $on ( '$stateChangeSuccess' , function ( event , toState ) {
5153 if ( angular . isDefined ( toState . data . pageTitle ) ) {
5254 $scope . pageTitle = toState . data . pageTitle ;
You can’t perform that action at this time.
0 commit comments