Components will be a big deal. From what I understand, we’ll be able to run Angular 2.0 and Angular 1.5+ side by side. Since components are inherently isolated, we’ll be able to update components one by one without having to do a full site replace, or even the “Silo” replacement, like how we’ve broken up our most recent 350 webpage system.
Angular Components Replace Controllers. Examples in TypeScript!
The next step to preparing yourself for Angular 2.0 is to move from the Controller model to Component model. If you’ve had any experience with directives, you’ll see the format of what we’d use for a controller in TypeScript is similar. (I stripped out our main code, leaving what we use as a framework.) module […]
Basic Template for a TypeScript controller
After making almost 100 controllers for one system, we’ve established a standardized method for controllers. It’s not complex or exciting, but it’s saved us enough time that we decided to keep it on our site.
- « Previous Page
- 1
- …
- 13
- 14
- 15
- 16
- 17
- …
- 24
- Next Page »