Created
January 27, 2017 17:41
-
-
Save sajeetharan/2706edc52da6e14f9bd727ac1c526e16 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
////Angular 1.x using Controller and $scope......... | |
var myApp = angular | |
.module("myModule", []) | |
.controller("productController", function($scope) { | |
var prods = { name: "Prod1", quantity: 1 }; | |
$scope.products = prods; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment