Օրագիր

12 Oct 2018

AngularJS Filter

Filter in AngularJS?

Filter in AngularJS is a term which is basically used to transform the data in AngularJS application.

To format the data AngularJS could use lots of in-built filter.

Like as: – lowercase, uppercase, orderBy and number

Let us understand by a simple example.

Օրինակ `

<div ng-app=”myModule” ng-controller=”myController”>

<p>Company name is {{ companyName | uppercase }}</p>

</ Div>

<script>

angular.module (‘myModule’, []).controller (‘myController’, function ($scope) {

$scope. companyName=”comapny”;

});

</ Script>

Output: – COMPANY

Angular JS Training

In Just 4 Days
Գրանցվել հիմա

GTranslate Your license is inactive or expired, please subscribe again!