× {{alert.msg}} Never ask again
Get notified about new tutorials RECEIVE NEW TUTORIALS

Don't pass $scope into your services, it could brake your code one day.

Stepan Suvorov
Mar 10, 2015
<p>If you need some properties of <strong>$scope</strong> for you <strong>filter</strong> - it's better to pass only them, but not the whole <strong>$scope</strong> object.</p>
comments powered by Disqus