By using filters convert text to camel case.
angular.module('test') .filter('TextCamelCase', function() { return function(input) { input = input || ''; return input.replace(/\w\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();}); }; });
You might also like:
Compare the Triplets | Javascript | hackerrank.com07-05-2020 hackerrank.com |
How to upload file by using request module18-03-2017 request module node js |
Remove last two characters from given string06-03-2017 substring javascript remove |
Filter for replace text in Angular Js05-03-2017 filter replace angular js |
Call a function every second or 5 seconds in javascript22-02-2017 setinterval function calling |