Angularjs Access Scope Variable Javascript