Beginning AngularJS
Chapter 2 ■ the BasiCs of angularJs Now for something very exciting: if you move down to the eighth line, you will see an Angula ...
Chapter 2 ■ the BasiCs of angularJs Hello {{'Wor' + 'ld'}} Hello {{'Wor' + 'ld'}} All that we have done here is to move the ng ...
Chapter 2 ■ the BasiCs of angularJs Here we have declared the expected ngApp directive and AngularJS script reference with which ...
Chapter 2 ■ the BasiCs of angularJs Listing 2-4. A First Look at ngShow <!DOCTYPE html> Listing 2-4 Paragraph 1, can ...
Chapter 2 ■ the BasiCs of angularJs ■ Tip if an ngShow expression evaluates to false, then a Css class named .ng-hide is dynamic ...
Chapter 2 ■ the BasiCs of angularJs Listing 2-6. A Quick Look at AngularJS Expressions <!DOCTYPE html> Listing 2-5 Ex ...
Chapter 2 ■ the BasiCs of angularJs Summary This chapter explored the concept of frameworks and why you would want to use one. A ...
Chapter 3 Introduction to MVC We have taken a quick look at AngularJS and how to get a simple Angular-based web page up and runn ...
Chapter 3 ■ IntroduCtIon to MVC Sometimes, you will find a lot more information about a design pattern than what I present here, ...
Chapter 3 ■ IntroduCtIon to MVC Let’s work through a scenario. Assume that we found this design pattern documentation through an ...
Chapter 3 ■ IntroduCtIon to MVC return message.toUpperCase(); }; return { logWarning: _logWarning }; }; return { // Here is the ...
Chapter 3 ■ IntroduCtIon to MVC Design patterns are indeed a valuable resource, but you still have to put plenty of thought into ...
Chapter 3 ■ IntroduCtIon to MVC A Separation of Concerns Great! We have some background on the three core components of MVC and ...
Chapter 3 ■ IntroduCtIon to MVC There really are many reasons to use MVC, and most of them are based around the commonsense idea ...
Chapter 3 ■ IntroduCtIon to MVC Listing 3-2. MVC in Action function MyFirstCtrl($scope) { // populate the employees variable wit ...
Chapter 3 ■ IntroduCtIon to MVC The output, as shown in Figure 3-2, is simply a count of the number of employees, courtesy of th ...
Chapter 3 ■ IntroduCtIon to MVC Number of Employees: {{ ourEmployees.length}} {{employee}} This listing isn’t terribly differ ...
Chapter 4 Filters and Modules When working with data that has been retrieved from a database, you will spend a lot of time worki ...
Chapter 4 ■ Filters and Modules The first filter we will look at will address the issue of the firstName and surname appearing i ...
Chapter 4 ■ Filters and Modules Listing 4-2 shows how easy it is to apply the lowercase filter. We apply it by stating the value ...
«
1
2
3
4
5
6
7
8
9
10
»
Free download pdf