I’m trying to open a html file from a widget. A paramenter called “fav” (a number) needs to be sent from the widget to the html, but I can not come up with the right syntax so it sends the value instead of a string with the wrong data or an error.
The first {{config.fav_number}} shows the value of the number, but the second one shows an error. I also tried other funny things like …?fav=‘+{{config.fav_number)}}+’">… and other crazy stuff but nothing seems to work.
Note that this can only work for same-origin URLs (yours is), links to external domains would be blocked by AngularJS’ Strict Contextual Escaping unless they are manually trusted - and you can’t do that from a template.