Created
January 31, 2018 17:57
-
-
Save xaiwant/99e46b89c457eb1e73971398eccb9d73 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
var NewApp = angular.module("NewApp,[]"); | |
var NewController = function ($scope) { | |
$scope.ValueA = "100 INR"; | |
} | |
var newApp.controller("NewController",NewController); | |
/* Alternate way to write controller */ | |
var NewApp = angular.module("NewApp,[]"); | |
var newApp.controller("NewController", function ($scope) { | |
$scope.ValueA = "100 INR"; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment