I\'m having an issue with custom directives that\'s driving me crazy. I\'m trying to create the following custom (attribute) directive:
angular.module(\'comp
I can't see that you're using the SeatsCtrl-controller anywhere? How is it being used? And have you verified that it is activated, and that the query is actually performed?
The quickest way to check if SeatsCtrl is in use is to simply add a console.log('SeatsCtrl actived!'); inside it. If it is not, then add ng-controller="SeatsCtrl" to the div.
You can also put a watch-and-log on the seats directly inside the controller just to make sure it is not an issue with scoping.