Wednesday, February 13, 2013

Error Deploying Angular JS

When Deploying Angular JS to rails production server, we were getting the following error,
Error: Unknown provider: eProvider <- e at Error (<anonymous>) ....
Well if you are getting mad to find error in your Angular you can not. Just inject the dependencies as follows,
MyController.$inject = ['$scope']; 
And that is it.

Reference

http://stackoverflow.com/questions/13459452/rails-3-angularjs-minification-does-not-work-in-production-unknown-provider

Monday, February 11, 2013

Ubuntu Teletalk 3G configuration

The basic settings is,
Dial number: *99#
APN Address: gprsunl
PDP Type: IP
Auth mode: PAP
Edit connection -> Mobile Broadband -> Add new ....