I have a question regarding the behavior of code in Ionic. I have added the following snippet to my controller in AngularJS and it works perfectly fine in pure AngularJS. However, in Ionic, the same code snippet does not work as expected. The tagName property remains undefined, making it impossible to access the scope value. Interestingly, changing the tagName to, for example, 'cat' allows me to successfully retrieve Instagram photos. Any suggestions on how to resolve this issue and access the scope properly?
Error: No tag name specified. Use the 'tagName' option.
var feed = new Instafeed({
get: 'tagged',
tagName: $scope.artists.instagram,
clientId: 'xxxxxxxxxxxxxxxxx',
resolution : 'standard_resolution'
});
feed.run();