Skip to content
InfinityKnow

InfinityKnow

Infinity Knowledge (IK) : Technology, Articles, Topics, Facts or many More.

  • Home
  • Education
    • yttags
    • Make Money
    • Jobs
    • Programming
      • Technology
      • Web Design
      • WEB HOSTING
      • Interview
  • Entertainment
    • pakainfo
    • Sports
    • Tips and Tricks
      • Law
      • Photography
      • Travel
  • Health
    • Insurance
    • Lifestyle
      • Clothing
      • Fashion
      • Food
  • News
    • Insurance
      • Auto Car Insurance
      • Business Insurance
    • Donate
    • California
  • News
    • Political
  • Home Improvement
  • Trading
    • Marketing
    • Top Tranding
    • Business
    • Real Estate
  • Full Form
  • Contact Us
  • swami vivekananda quotes
    swami vivekananda quotes Quotes
  • Angularjs Scroll to top With Router Autoscroll
    Angularjs Scroll to top With Router Autoscroll Technology
  • vuejs tab component Dynamic flexible and accessible Vuejs tabs
    vuejs tab component Dynamic flexible and accessible Vuejs tabs Technology
  • vuejs time-range-picker Example – time range picker using Vuejs – timerangepicker
    vuejs time-range-picker Example – time range picker using Vuejs – timerangepicker Technology
  • Shayari hindi Shayari
  • Vuejs Creating vue instance inside vue instance
    Vuejs Creating vue instance inside vue instance Technology
  • Android Spy App
    Top 5 Ways A Local Business Can Benefit From Android Spy App Technology
  • AngularJS Dynamic Carousel Slider Control – Angular SimpleSlider
    AngularJS Dynamic Carousel Slider Control – Angular SimpleSlider Technology
AngularJS filter capitalize First letter of Every word

AngularJS filter capitalize First letter of Every word

Posted on June 30, 2018 By admin No Comments on AngularJS filter capitalize First letter of Every word

AngularJS filter capitalize First letter of Every word

In this Post We Will Explain About is AngularJS filter capitalize First letter of Every word With Example and Demo.

Welcome on infinityknow.com – Examples ,The best For Learn web development Tutorials,Demo with Example! Hi Dear Friends here u can know to How to Capitalize the First Letter of a String in Angularjs

In this post we will show you Best way to implement Capitalize First Letter Filter – AngularJS, hear for How to javascript – Capitalize the first letter of string in AngularJs with Download .we will give you demo,Source Code and examples for implement Step By Step Good Luck!.

READ :  Angular Dynamically Delete Row from Table

AngularJS – How to Capitalize the first letter of word Using filter

First of all the Capitalize your string as well as your specifc word. so here let’s know to following source code example and use it.

Create Filter:
[php]
var liveApp = angular.module(‘liveApp’, []);
liveApp.filter(‘liveCaptila’, function() {
return function(text) {
return (!!text) ? text.charAt(0).toUpperCase() + text.substr(1).toLowerCase() : ”;
}
});
[/php]

Use Filter:
[php]

{{ Live-your-string | liveCaptila }}

[/php]

Capitalize First Letter Filter – AngularJS Example

index.html
[php]

First word only: {{comments | live_capitalize}}

All words: {{comments | live_capitalize:true}}

[/php]

index.js
[php]
angular.module(‘livectrl’, []).
filter(‘live_capitalize’, function() {
return function(input, all) {
var live_reg = (all) ? /([^\W_]+[^\s-]*) */g : /([^\W_]+[^\s-]*)/;
return (!!input) ? input.replace(live_reg, function(parma){return parma.charAt(0).toUpperCase() + parma.substr(1).toLowerCase();}) : ”;
}
});

READ :  C# Armstrong Number Tutorial with Examples

function newliveCtrl($scope) {
$scope.comments = ‘you are most wel-come to infinityknow.com’;
}
[/php]

Example

I hope you have Got AngularJS – How to Capitalize the first letter of word Using filter And how it works.I would Like to have FeadBack From My Blog(infinityknow.com) readers.Your Valuable FeadBack,Any Question,or any Comments abaout This Article(infinityknow.com) Are Most Always Welcome.

Related posts:

  1. Capitalize First Letter JavaScript Example
  2. JavaScript Capitalize First Letter of each sentence
  3. Vuejs Simple Navigation Menu vue router-link params
  4. Responsive Navigation Menu CSS Free download
Technology, AngularJs Tags:angular 6 capitalize first letter, angular 6 capitalize first letter of each word, angular 6 capitalize first letter pipe, angular 6 capitalize pipe, angular capitalize first letter of every word, angularjs filter first letter, javascript capitalize first letter, javascript capitalize first letter of each word

Post navigation

Previous Post: Vuejs Input multiple Tags with dynamic autocomplete using Tag Manager
Next Post: AngularJS Datepicker Directives Example with Source Code

Related Posts

  • Switching HTTPS Fix
    Switching HTTPS Fix broken visual editor on WordPress Technology
  • Packaging Design
    How to Get Stunning Packaging with Attractive Customization Choices – Packaging Design Tips and Tricks
  • vuejs time-range-picker Example – time range picker using Vuejs – timerangepicker
    vuejs time-range-picker Example – time range picker using Vuejs – timerangepicker Technology
  • AngularJS and SEO Dynamically Title with Meta Description
    AngularJS and SEO Dynamically Title with Meta Description Technology
  • A1 A2 A3 A4 A5 Paper Size in inches mm cm and meters pixels Technology
  • vue js Login Form get http json data
    vue js Login Form get http json data Technology

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Account web hosting (1)
  • AngularJs (277)
  • Articles (143)
  • Asp.Net (49)
  • Astrology (2)
  • Attorney (7)
  • Auto Car Insurance (4)
  • Biography (2)
  • Business (9)
  • Business Insurance (3)
  • California (4)
  • Choose the web hosting (1)
  • Clothing (6)
  • cloud (8)
  • Cloud data storage (2)
  • Credit (1)
  • Dedicated hosting server web (1)
  • Dedicated server web hosting (1)
  • Dedicated web hosting (1)
  • Degree (11)
  • Design (9)
  • Differences shared hosting (1)
  • Donate (2)
  • Education (37)
  • Energy web hosting (1)
  • Entertainment (6)
  • Facts (12)
  • Fashion (3)
  • Finance (3)
  • Food (5)
  • full form (90)
  • Google Adsense (22)
  • Health (20)
  • Home Improvement (5)
  • Insurance (6)
  • Interview (2)
  • Jobs (6)
  • jquery (2)
  • jQuery (2)
  • Laravel (164)
  • Lawyer (4)
  • Lifestyle (6)
  • Loans (6)
  • Make Money (31)
  • Managed dedicated server (1)
  • Managed hosting solution (1)
  • Managed servers (1)
  • Marketing (8)
  • Mortgage (2)
  • Movies (21)
  • MySQL (180)
  • News (5)
  • Photography (1)
  • PHP (250)
  • Programming (18)
  • Quotes (75)
  • Real Estate (2)
  • SEO (9)
  • Shared web hosting (1)
  • Shayari (67)
  • Sports (5)
  • Status (34)
  • Stories (45)
  • suvichar (8)
  • Tech (3)
  • Technology (675)
  • Tips and Tricks (42)
  • Top Tranding (35)
  • Trading (28)
  • Travel (12)
  • Uncategorized (8)
  • VueJs (179)
  • Web Design (2)
  • WEB HOSTING (1)
  • Web hosting company (1)
  • Web hosting really (1)
  • Web hosting windows (1)
  • Which website hosting (1)
  • Wishes (13)
  • wordpress (15)

Categories

AngularJs (277) Articles (143) Asp.Net (49) Attorney (7) Business (9) Clothing (6) cloud (8) Degree (11) Design (9) Education (37) Entertainment (6) Facts (12) Food (5) full form (90) Google Adsense (22) Health (20) Home Improvement (5) Insurance (6) Jobs (6) Laravel (164) Lifestyle (6) Loans (6) Make Money (31) Marketing (8) Movies (21) MySQL (180) News (5) PHP (250) Programming (18) Quotes (75) SEO (9) Shayari (67) Sports (5) Status (34) Stories (45) suvichar (8) Technology (675) Tips and Tricks (42) Top Tranding (35) Trading (28) Travel (12) Uncategorized (8) VueJs (179) Wishes (13) wordpress (15)
  • I love you quotes Quotes
  • Mortgage Loan Online Interest Rates Eligibility & Calculator Payment
    Mortgage Loan Online Interest Rates Eligibility & Calculator Payment Articles
  • TamilMV
    TamilMV 2021 – Download & Watch Latest Tamil, Telugu Hindi Movies Free Movies
  • Angular 2 collapse and expandable Menu - Angular 2 Nested Menu
    Angular 2 collapse and expandable Menu – Angular 2 Nested Menu Technology
  • Get the Http headers from current request in PHP Laravel 6 Technology
  • Paytm Payment Gateway Integration with PHP Technology
  • Fetch Object values in array using angular.foreach Example
    Fetch Object values in array using angular.foreach Example Technology
  • happy birthday Status

Copyright © 2022 InfinityKnow.

Powered by PressBook News WordPress theme