Using helper methods while templating with Angular JS
问题 Currently in the process of converting a website from its previous templating to Angular. In the previous templating process we were using we were able to call helper methods to display data correctly. For instance: <script type="text/javascript"> $.views.helpers({ parseDate: function (jsonDate) { if (jsonDate != null) { var newDate = Utils.PrettyDate(Utils.ConvertJsonDateToJsDate(jsonDate)); return newDate; } } }); </script> <div class="post-info"> <span class="posted-date">Posted {{ :