finally got angular and requirejs to work together