O'Reilly logo

Seven Web Frameworks in Seven Weeks by Frederic Daoud, Jack Moffitt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Day 3: Building Filters and Routes

Today we conclude our exploration of AngularJS by discovering more ways to benefit from AngularJS’s exceptional data binding. In doing so, we’ll wrap up our bookmarking application by adding tags, filtering, and routing. With data binding, it’s not only possible, it’s smooth sailing to implement these features while keeping our components cleanly decoupled. The majority of the code we write focuses on the model; AngularJS takes care of updating the view.

The first thing we’ll do today is improve our application by adding tag list support to the bookmarks. That involves adding an input field for the user to enter the bookmark’s tags (separated by commas) and splitting the string on commas to obtain a list. We ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required