Last active
September 23, 2017 18:13
-
-
Save ball6847/433046b8081cd790f35b0c1a41541f60 to your computer and use it in GitHub Desktop.
Snippets for My Medium Article - 2017-09-23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
soccerModule.controller('leagueListController', [ | |
'$scope', | |
'selectors', | |
'store', | |
function($scope, selectors, store) { | |
$scope.$watch(() => selectors.count(store.getState()), count => { | |
// ... | |
}); | |
} | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment