Send the link below via email or IMCopy
Present to your audienceStart remote presentation
- Invited audience members will follow you as you navigate and present
- People invited to a presentation do not need a Prezi account
- This link expires 10 minutes after you close the presentation
- A maximum of 30 users can follow your presentation
- Learn more about this feature in our knowledge base article
Angular JS at NOW TV
Transcript of Angular JS at NOW TV
Requirements for our
Andrew Merrell & Caroline Bourdeu d'Aguerre
Why we selected AngularJS
A few more reasons
built with testing in mind
, there are helpers and mocks to use for core Angular functionality. Including E2E & unit test runners.
We can write
services to fetch and transform data
The view drives the controllers and models.
Angular is great for single page applications.
Routing is built in
, you can depend on services to resolve before rendering views.
Uses the HTML 5 History API and has fallbacks.
Steep learning curve when it comes to complex problems.
Documentation is not great but is rapidly improving.
Testing directives and promises is not easy.
Directives can have controllers & compiles, pre linking, linking and post linking.
Which one is the best to use?
Choosing when to use a factory, service or provider.
Choosing an MVC with TODO MV*
Egghead.io - short video tutorials
More detail on some of the reasons we like AngularJS
E2E testing Angular with WebDriver
Understanding how Angular DOM binding works.
Brian Ford - AngularJS Developer
2 way data binding
, less boilerplate needs to be written to connect models, views, controllers and services together.
way of building the app, by adding attributes to existing tags.
, extending the HTML language.
, you need only include the core, but google have written some helpful modules.
Not required to use models, we can use
, we just update the object.
Where we want to go with our web application.
Single page app.
How do we ensure SEO?
How do we ensure browser performance?
Allow us to cache pages easily by moving work to the client side.
A framework that would be easy to test.
Reduce UI flickering as much as possible.
What we liked
Proper MVC on the front end, with a good structure.
Easy to create a single page experience.
We can create components (Directives) which can be easily reused (Modular).
Easy to add 3rd party modules and directives.