Skip to main content

Posts

Showing posts with the label angular

AngularJS by Example - My new book on AngularJS

For some time now i have been blogging on my corporate blog instead of my personal one. But this is something that i should share on my personal blog too as it is big :) I have a book out there " AngularJS by Example "! Published by Packt this book targets beginners to intermediate audience. Head over to my blog post here to learn more about the book.  You can also checkout and buy the book on Packt website . Happy reading!

AngularJS validation directives library

I wrote a set of directives that make validation in AngularJS a tad simpler. The directives are available at https://github.com/technovert/angular-validation I have detailed about the directives on my company website http://blog.technovert.com/2014/03/angularjs-form-validation-library-directives/ and there is also a jsfiddle to play with http://jsfiddle.net/3vxgy/1/ or

Common Pitfalls using AngularJS

I recently blogged about some common pitfalls using AngularJS on my companies blog. Anyone interested in the details should visit my post at. http://blog.technovert.com/2014/02/common-pitfalls-angularjs/ You can also subscribe to my feed here Happy Reading :)

Integrating ASP.Net MVC with AngularJS

We recently released a Project Template for ASP.Net MVC and AngularJS here and here . I did a follow up post detailing how the project template has been setup and how to make AngularJS and MVC play well together on my company blog . If you are interested in understanding how the template works head over to my blog post and read it!

Visual Studio Project Template for AngularJS SPA + ASP.Net MVC \ Webapi

I am very exited to announce that our team at Technovert has release a Visual Studio project template for AngularJS . More details on how to install and use this template are available on the Technovert Blog   Knockout.js has been a standard library that .Net devs have been using for creating rich interactive business apps. But AngularJS from Google provides a more complete framework and is gaining a lot of dev community support. This project template can help you get up and running with AngularJS in no time and evaluate it for your future needs.

AngularJS Model - ViewModel

Recently Robin Ward did a comparison between AngularJS and Ember (both the post and the comments are interesting read). One of the complaint that Robin had that AngularJS does not provide any specialized model class. As described in the blog There is no standard Model base class, nor is there a component or interface in AngularJS that defines what a model is supposed to be. What that means is that anything defined on $scope can acts as model, as this sample on the blog describes For some (like me) this is the flexibility where as for others who want a more structural approach this is a nuisance.AngularJS does not even provide any definite guidelines around how the model should be actually designed to be effective with AngularJS This leads to what we call as $scope pollution. We define multitude of properties on the $scope object and managing it becomes difficult.  Looking at the code one cannot tell what is the actual model and what properties are just to support UI...

Angularjs and inplace edit

AngularJS is an awesome framework and Angular Directives make this framework super awesome :) AngularJS  directives help us extend the existing HTML DSL. You can create new tags, extend functionality using existing tag and create reusable component. I recently created a Inplace editable control in AngularJS. It basically allows to do in place editing for elements like H1, H2, H3 div etc, basically all read only control. I took the initial idea from this fiddle and added Text selection on edit. Cursor positioning Handle the Enter key press. Here is my fiddle