Created
December 4, 2014 13:38
-
-
Save tehPlayer/431de2e708075ee1e9cc to your computer and use it in GitHub Desktop.
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
'use strict' | |
angular.module('saasPlatform') | |
.controller 'ShopsCtrl', ($scope, Shop) -> | |
$scope.initialize = -> | |
Shop.get {}, (result) -> | |
$scope.shops = result.shops |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment