Created
November 23, 2014 18:38
-
-
Save bq1990/345a0303cef95aad5d9a to your computer and use it in GitHub Desktop.
Bootstrap Asp.Net constants into Angular
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
(function (app) { | |
app.constant('settings', @Html.Raw(Model.SettingsJson)); | |
})(angular.module('@Model.AngularModuleName')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment