Wrote new post on requirejs with angular