I would like to have a ng-if
evaluate a viewpoint.
For example
<div ng-if="viewPort=='SM'">
Or, maybe just a $watch
and then I can set a variable that's in the $scope
I know I could do some magic with events etc, but I am looking for the angler way if one exists.
EDIT
Thinking about how this would work, I presume I would need a service and a way to hook into viewport changes so my controller can update the model so the view can react.