Update update view when scope changes
createLink method
All links being created using same function