August 2017
Beginner
374 pages
10h 41m
English
Of course, there is much more to Angular than evaluating expressions in HTML. To connect Angular 1 with Redux, we will first need to set up a small application. In our template, we already have the code for a Redux blog application. We will use this existing code and replace our simple render() function with Angular 1.
For the sake of simplicity, we will put all our Angular code into the main HTML file:
<div ng-app="blog" ng-controller="posts">
This tells Angular that we want to use the blog module and the posts controller for this container.
Read now
Unlock full access