I am working with the following code snippet:
$scope.links = {
home: {text:'Home', link:'#'},
about: {text:'Contact', link:'#'},
handeMade: {text:'Contact', link:'#'},
shirts: {text:'Contact', link:'#'},
design: {text:'Contact', link:'#'},
photography: {text:'Contact', link:'#'},
blog: {text:'Contact', link:'#'},
contact: {text:'Contact', link:'#'}
}
My goal is to utilize ngRepeat directive in order to loop through the 'links' variable inside the scope and retrieve both the text and link of each object. Can this be achieved?
Thank you.