DEV Community

Cover image for Shopping Site Order Form Using Angular Js
amogh kawle
amogh kawle

Posted on • Originally published at gist.github.com

Shopping Site Order Form Using Angular Js

In this example, we will code an order form with a total price updated in real time, using another one of Angular's useful features - filters. Filters let you modify models and can be chained together using the pipe character |. In the example below, I am using the currency filter, to turn a number into a properly formatted price, complete with a dollar sign and cents. You can easily make your own filters, as you will see in example :-

https://gist.github.com/amogh9594/b8f0fc9844b460d123185afcc8114c46

Top comments (0)