Hi,
I am experienced with Angular; new to Servoy.
I have a pretty UI layout built using Angular and Bootstrap that I need to replicate (or get close to) in Servoy. The main part of the app will be Servoy, but the menus and page scaffolding must look like Google Inbox with some slick CSS and Javascript, so I'm using HTMLview components for these parts.
1. Really simple Angular problem:
How can I get Angular to see the Angular expressions inside custom HTMLview components?
If I make an HTMLview component and give it a string of "<p>{{3 + 4}}</p>" I am hoping that it will render as a paragraph with "7" inside it, but Servoy renders a paragraph with "{{3 + 4}}" in it. It never gets parsed by Angular, even though Angular is present and working on the page.
Is Servoy escaping out my {{}}'s and then unescaping them and rendering them in the browser so then angular never sees them?
2. More complex Angular problem
How do I load controllers for my own HTML? I have angular controllers, can I include them as a media file so they get deployed with the solution?
3. Talking to Servoy from Javascript / Angular
How is this done? Eg if I have a beautiful custom made search box and the user enters text and it fires a javascript function sending the text as a parameter, how do I send this onwards to Servoy?
A colleague (with experience in Webclient and Smart client) says this is done in WebClient with the WebClientUtils plugin, but as NGClient uses Angular, is there another way this is done?
Thanks for your help,
Jeremiah Blanch
TSM The Service Manager