https://github.com/shyamseshadri/angularjs-book/issues/42