javascript - Ionic/AngularJS/Instafeed can't access scope -


my question ionic. following code added controller in angularjs works in pure angularjs.

in ionic though, same code snippet doesn't work. tagname remains undefined. , in case, cannot access scope value. if change tagname 'cat' pulls instagram photos successfully. thoughts on how able access scope?

error: no tag name specified. use 'tagname' option.

  var feed = new instafeed({     get: 'tagged',     tagname: $scope.artists.instagram,     clientid: 'xxxxxxxxxxxxxxxxx',     resolution : 'standard_resolution'   });    feed.run(); 

for coming across problem, i've created simple lightweight angular wrapper instafeed. can find instructions , demo uses $scope variables bound via ngmodel @ https://github.com/zephinzer/nginstafeed. cheers!


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -