Visualforce and Angular - Component Re-Use

Visualforce and Angular – Component Re-Use

I mentioned the benefit of re-usability when we started creating our input-text.component but we really haven’t see it in play yet. Let’s see a couple ways to make use of it. Display Only We have some items right now that are display only, even when editing. This doesn’t mean we can’t use our input-text.component to […]

Visualforce and Angular - Add Routing

Visualforce and Angular – Add Routing

Last time we styled our contact list with Bootstrap. Let’s try adding a second component to show the details of a contact when we select one from the list. Create New Component First thing we will need is to create a new component. In the src-ng folder use either the ng g component or the […]

Visualforce and Angular - Mocking @RemoteAction

Visualforce and Angular – Mocking @RemoteAction

Last time we talked about Visualforce with Angular we got Remote Actions working. This made it so we could get data from Salesforce but we could no longer develop locally. Let’s set up some mocking so we can still develop locally and make more rapid updates to our app. Begin Mocking In your Angular app […]

Visualforce and Angular - @RemoteAction in Action

Visualforce and Angular – @RemoteAction in Action

Since last time we added a component and a service we should probably make that server get some data. We will use the @RemoteActions we defined earlier for that. Add Controller Reference To use the @RemoteActions on ourTryAngularController controller we will need to tell the page what controller we are using. On your TryAngular.page we […]

top