Update the angularjs light implementation