Components are the main application design difference with the new Angular. In this course, you'll learn how to build sites in a component-based way, where they are easier to design, develop, modify, and enhance in AngularJS.
Angular has made it necessary to learn new syntax, new installation procedures, and of course wants us to use TypeScript. However, the single most significant change is that it takes you down the path of component-based design. What if you are not ready to make the leap to the next version of Angular? Well, now you can design and develop your web applications using this great modular and encapsulated paradigm, and you can do it using the familiar AngularJS environment. In this course, Designing and Building Component-based AngularJS Applications, you'll learn how to design and develop these kinds of applications. First, you'll begin by leveraging all of your existing Angular knowledge and learning a hierarchical way of designing, making your web site a hierarchy of components. Next, you'll explore how to use the Angular UI Router, which replaces the Component Router. This offers you the same nested routing capability that you'll find in the new Angular router. Finally, you'll cover how to make your components secure, requiring the user to be authenticated before accessing them. By the end of this course, you'll have the necessary knowledge and understanding of how to utilize the component-based way that Angular does things now.
Whether playing on the local Radio Shack's TRS-80 or designing systems for clients around the globe, Miguel has been writing software since he was 12 years old. He keeps himself heavily involved in every aspect, layer, nook, and cranny of app development and would not have it any other way.
Replacing the Home Component with Recent Courses This next function will be called getRecentlyViewedCourses. It too will be secure. And this one will be a simple http get call, so everything will be included in the URL. I'll just go ahead and quickly add this one, as you can see, nothing new, nothing special. And finally, just to complete things, we'll add a function to clear a user's recent course list. This one I'll add in full, since you're used to me doing this already. Again, nothing fancy here, you've seen it all before. I can leave out the then promise if I want, since I'm not doing anything with it, but I'll leave it here just in case I change my mind in the future.