complex type initializer bug + angular $http 'fix'.