date format issue solved. needed to include formatter js file in master
controller