@ -95,7 +95,7 @@ function halResource(halTransform, HalLink, $q) {
element._links = {};
linked.forEach(linkName => {
if (typeof(this[linkName]) === 'object' && this[linkName].$links && !angular.isFunction(this[linkName])) {
if (this[linkName] && !angular.isFunction(this[linkName])) {
element._links[linkName] = element[linkName].$links.self.$link;
}