AngularJS – Routing

This is a good tutorial video for AngularJS’s routing feature. It shows some good examples to simply list/create/edit objects.

By using routing, you can navigate a certain url-request to a specific controller and the html partial. It smoothly works, compared with server-side routings. This time, I just created a repo for storing the sample as it involves multiple files. This video uses node.js for serving html file, but I used Sinatra instead.

https://github.com/parroty/angularjs_samples

angular-sample

Advertisements

Posted on March 9, 2013, in JavaScript. Bookmark the permalink. 1 Comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: