I am getting a date time value from asp.net mvc controller as \"2014-08-31T00:00:00Z\". When I bind this value to my angular-ui datepicker control it\'s state is showing as ng-i
I solved the problem by converting string to valid javascript formt in directive:
directive
see here: Datepicker-popup formatting not working when value set initially in scope