By now, we know how to transfer data from a backend or user into an HTML page. This section will focus on how to show and manipulate data using AngularJS. The AngularJS framework has another useful component: filters. Filters return a subset of the item. In AngularJS, a filter is a global function that can be implemented in the view using a pipe symbol (|) and the parameter separated by a colon (:). AngularJS filters are used to format data in the view, for example when we want to display a number up to two decimals even if the user enters the value with more than two decimals. The advantage of using the AngularJS filter is that you do not need to register a function on the scope. Filters are available for each and every DOM template, and a filter can also be parameterized. The following table shows a list of significant built-in filters in AngularJS:
Mastering AngularJS for .NET Developers
By :
Mastering AngularJS for .NET Developers
By:
Overview of this book
<p>AngularJS is an open source framework that utilizes the Model-View-Controller architecture for client-side application development. AngularJS is referred to as the Angular framework.</p>
<p>With this book, you will soon be able to build client-side data driven applications. The introduction section covers the essentials of AngularJS, covering the core concepts of AngularJS to ensure a smooth transition to the more advanced topics discussed later on.</p>
<p>This book covers the development of client-side applications with AngularJS using code examples before moving on to explore how to build the ASP.NET Web API and its features using Visual Studio .NET.</p>
Table of Contents (15 chapters)
Mastering AngularJS for .NET Developers
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Introduction
Learning AngularJS Binding and Directives
AngularJS Scopes, Controllers, and Filters
Communicating with the Server Using AngularJS
Creating Applications Using AngularJS, Entity Framework, and ASP.NET Web API
Using AngularJS and ASP.NET Web API for CRUD Operations
Troubleshooting and Best Practices
Index
Customer Reviews