change controllers to use NgController