Skip to main content

Questions tagged [angular]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
10 votes
2 answers
8k views

aura math expressions

I'm messing with Lightning Components doing some very angular-ish things. I like that we can use two-way binding with the "updateon" tag. Here's my code: <aura:component > <aura:...
Shane McLaughlin's user avatar
9 votes
2 answers
1k views

testing angularjs on visualforce

Doing angularjs on visualforce in a big way lately, using lots of ngforce. In all the mainstream (ie, non-force.com) angular, there's some slick unit testing stuff. But it looks like the assumption ...
Shane McLaughlin's user avatar
9 votes
2 answers
3k views

Feasability of Angular2 in Salesforce (through VF page)

I've used Angular 1.x in Salesforce with quite a bit of success, but I was wondering if anyone has been able to work with Angular2. I was able to get a very simple hello world to load, but only if I ...
NSjonas's user avatar
  • 10.2k
8 votes
5 answers
7k views

How can I reference angularjs template files within a visualforce page?

I am creating a Visualforce plugin that allows me to add data to the Account and Opportunity pages. The data I am adding easily follows the model of a SPA, so I decided to use AngularJS within my ...
Phil Barresi's user avatar
7 votes
2 answers
396 views

jQuery & Angular in Salesforce

I am very new to Salesforce development coming from jQuery/Angular framework. Can I develop UI containing angular/jquery in Salesforce ?. I am basically trying to learn Salesforce via an approach in ...
daww's user avatar
  • 79
7 votes
2 answers
1k views

JavaScript Remoting and optimal Angular.js architecture

Background I am starting to build more and more apps with angular, inside of a Visualforce container. Since many of the database services rely on some apex logic, the services layer uses JavaScript ...
greenstork's user avatar
  • 14.8k
6 votes
2 answers
2k views

ng-view directive won't load on ie11 from sfdc server

everything works well on chrome but no matter what I try I can't get the ng-view directive to display my templates on ie11 (only the header and footer get displayed) I've tried compatibility mode on ...
tercou1's user avatar
  • 161
5 votes
1 answer
2k views

How to use Angular directive in VisualForce

How to use angular directive in VisualForce My directive html page <apex:page showHeader="false" sidebar="false" standardStylesheets="false" applyHtmlTag="false"> <td> <div ...
Shankar Kamble's user avatar
5 votes
1 answer
1k views

Angular <option> for null not working in Visualforce

In salesforce.com Visualforce pages the default option value for null is not being displayed. I have a very simple select component with one option child for the none or null value as defined by the ...
TehNrd's user avatar
  • 794
4 votes
2 answers
9k views

"Error: [$parse:syntax] Syntax Error: Token ':' is an unexpected token at column" Angular with Visualforce

I am trying some code related to Angular with Visualforce. Here I am trying to implement modal in https://angular-ui.github.io/bootstrap/#/modal Now when I use a templateURL and give a new apex as ...
SEuser's user avatar
  • 1,847
4 votes
1 answer
1k views

File Upload using Angular FileUpload

I'm trying to Upload an Image to create a Document using Angular File Upload (https://github.com/danialfarid/ng-file-upload) From this link : Upload functionality in visualforce page I found ...
Surya Chandra Rao Gandreddi's user avatar
4 votes
1 answer
674 views

Create a drill down for a field in visual force page using AngularJS

Create a drill down for a field in visual force page using AngularJS I have a visual force page using angular JS. I have include this page as a section in Contact standard page. I need to create a ...
QLU's user avatar
  • 43
4 votes
1 answer
2k views

Visualforce + Angular JS, ui-router not working

I've been doing some digging to figure out how I can get ui-router to work. I came across this: How can I reference angularjs template files within a visualforce page? but every answer on there ...
Codemky's user avatar
  • 41
4 votes
2 answers
2k views

Salesforce and Angular 2

I have something like this in my visualforce I need to pass vars to my component because all files are in the Static Resource. which is the correct way? var opp="{!opportunity}"; var resource="{!...
Hector Bayona's user avatar
3 votes
2 answers
1k views

Lightning and Angular via AuraNG

We have been doing some prototype work involving Lightning, Angular and AuraNG and we have a few questions. Currently aurang:region initialises an angular module and makes it available via the ...
user4116's user avatar
  • 263
3 votes
1 answer
450 views

Odd JS Remoting Behavior

I am in the process of porting an AngularJS application to Visualforce and Apex. For some of my services, I am using a custom controller with remote actions. Since this app will be included in a ...
tagCincy's user avatar
  • 341
3 votes
1 answer
598 views

Angular / Aura / Bootstrap - How to decide?

With the advent of aura framework, I was wondering how to decide if I want to go ahead with aura framework or may be I want to create with tried and tested angular with bootstrap framework for my ...
SEuser's user avatar
  • 1,847
3 votes
1 answer
2k views

Referencing Static Resources URL in AngularJS App

I need to use some icons in static resources in an ng-grid table. I wonder what is the best way to make use of the platform's url resolving. If I put the code src="{!URLFOR($Resource. in Javasript ...
Zaba Monika's user avatar
3 votes
1 answer
421 views

Site.UrlRewriter and Wildcards

I'm attempting to use Angular Routing to handle all of my public facing pages. It creates a pretty smooth experience for the customers, and I have gotten it working on my development machine, but now, ...
Justin R. Donaruma's user avatar
3 votes
1 answer
506 views

Pass data to web component (angular 6) inside LWC (Lightning Web Component)

I have Angular 8 app defined as web component and I have Lightning Web Component (LWC) app. Inside LWC I am trying to pass data into web component through the property of DOM element like this....
Dmitry Golofaev's user avatar
3 votes
1 answer
509 views

Angular App deployed on salesforce - login with community user

I have an angular2 app deployed on a salesforce environment(Developers Edition). I am developing a front end UI to call custom apex rest api's using community users (Community Login User). I have ...
deep's user avatar
  • 43
3 votes
1 answer
776 views

JS remoting not working with Angular code

I am trying to do a simple remoting code base along with auto update to angular table. BUt if I call a remote method as it is async, it gets called late and even though I try to push data in my ...
SEuser's user avatar
  • 1,847
3 votes
3 answers
210 views

Salesforce and JS framework

I just want clear answer, someone told me that using JS framework on salesforce is being discouraged. What and Why? By the way AngularJS is a JS framework and it's on Dreamforce Video.
Marvz73's user avatar
  • 113
3 votes
2 answers
501 views

Angular.js in Salesforce not loaded in IE9

I have deployed AngualrJs and Visualforce application in SFDC, Its working fine in IE10 , IE11 , Chrome and Mozilla, but its not loaded in IE9. I have tried this <apex:page showHeader="false" ...
Shankar Kamble's user avatar
3 votes
0 answers
240 views

Salesforce: Angularjs and Heroku

I am folloiwng the tutorial mentioned in the below URL. https://developer.salesforce.com/mobile/getting-started/html5/#angularjs-heroku I followed exactly as mentioned, I am able to OAuth ...
Arup Sarkar's user avatar
3 votes
0 answers
598 views

Trigger a native change event from within a Visualforce component

I am using the following Visualforce multi-select picklist component (thanks @metadaddy!) and extending it to handle an 'onchange' attribute: https://github.com/metadaddy-sfdc/Visualforce-Multiselect-...
luke.mcfarlane's user avatar
2 votes
2 answers
98 views

SF Lightning and Angular (versions 7) -- Any concerns on the App Exchange

I am trying to write an application in SF Lightning that uses angular (not angularjs, angular, version 7 if it matters) as the front end. To handle this (since it truly is a separate app that is ...
Fraser Orr's user avatar
2 votes
2 answers
4k views

JSON Serialize returning html entities that are not encoded

I am getting data from a custom field(Article__c) on a Knowledge Article which contains HTML data. When I serialize this data and return it to a VF page I am getting HTML characters that should be ...
tekstrand's user avatar
  • 169
2 votes
1 answer
66 views

Multiple Apex controllers in Angular app [closed]

I have inherited an angular app running in a VisualForce page. There is one apex controller for the page to call the remote actions. I don't see a way to use alternate multiple controllers in this spa ...
Rich's user avatar
  • 23
2 votes
1 answer
6k views

400 Bad Request in Response

I have been using working on an Applicaion in angularjs, and While getting response of 2nd request for the token, I am getting following an error. Illegal Request You have sent us an Illegal URL or ...
Rishabh Shah's user avatar
2 votes
0 answers
444 views

How to Embed a LWC (lightning web component) within an Angular app (without Aura)?

I created a LWC (just a form) and now I need to embed it within my angular page. One solution is to put my LWC inside an Aura compnent and then, use Lightning Out, I do not want this I just want to ...
BestAboutMe's user avatar
2 votes
0 answers
226 views

Set up Live Agent on hybrid (Angular/Ionic) app

I've been reading about implementing Live Agent into Angular/Ionic app and the documentation only provides information for iOS and Android native apps. I also tried standard method we already ...
Radomir Tacić's user avatar
2 votes
0 answers
579 views

ng-bind-html doesn't work with CaseComponent.CommentBody

Could anyone please help me figure out why ng-bind-html doesn't work with CaseComponents.CommentBody? <table class="table table-hover"> <thead> <tr> <th&...
zeo2396's user avatar
  • 408
1 vote
1 answer
748 views

2023 - Lightning Web Components and Angular

We have a 2GP that has a Lightning Component (Aura/Canvas) that displays our content inside of iframes. Our platform makes heavy use of Angular 15 and many Angular components like Angular Materials, ...
nstuyvesant's user avatar
1 vote
1 answer
663 views

Angular 2 and SFDC [closed]

We are going to use Angular 2 to build application in SFDC. I want to know what obstacles we can meet on this way. First of all I am interesting: What best practices for deploy angular 2 ...
I.Kliavakin's user avatar
1 vote
1 answer
2k views

AngularJS router loads contet but does not change the URL in the browser

I am currently developing a single page application on Salesforce. I have used ngRoute to navigate the user through the website. I've created a visualforce page and immidietly ran into a problem - on ...
mpiatek's user avatar
  • 13
1 vote
1 answer
206 views

Multiple Remoting Controllers for SPA

I am attempting to build a SPA using VF, AngularJS and numerous Custom Apex Controllers with RemoteActions. My plan was to call the Apex backend via Javascript Remoting calls wrapped in Angular ...
tagCincy's user avatar
  • 341
1 vote
1 answer
499 views

Chatter Library for Angular.js/ Ionic for hybrid mobile app

I want to know if there is any open source library using Angular.js that i can use in my hybrid app for integrating Chatter functionality. From what I have seen so far, ngForce is not suitable for use ...
user10740's user avatar
  • 215
1 vote
2 answers
3k views

Angular JS in Lightning Component

I am looking to use Angular JS in Lightning Component. Before starting it, just wanted to check if anyone has tried this implementation before. Is it compatible to use angular js with lightning ...
Devendra's user avatar
  • 5,085
1 vote
4 answers
2k views

Calling a remote action in Angular

I'm trying to get Tasks that belong to the current user when the page loads. This code works and can easily be copied and pasted in your dev console for testing and it prints all to the console.log. ...
Tyler Zika's user avatar
  • 2,902
1 vote
1 answer
764 views

Populating Jasmine Angular controller variable before test starts

I am trying to run some tests for some basic angular code that I have written. You can refer to this post for controller code details - https://wordpress.com/read/post/feed/37884742/822834869 But ...
SEuser's user avatar
  • 1,847
1 vote
4 answers
8k views

AngularJS to get Salesforce data using REST API

Below is my angular code to get contact. It runs locally using nodejs. angular.module('demoApp') .factory('contactService', function($http, $q) { return { getContactDetails: function(...
doga's user avatar
  • 4,595
1 vote
1 answer
54 views

Avoiding Batching of Concurrent Remoting Calls with LCC.callApex in Salesforce

I am developing a managed package in Salesforce where I have integrated Angular as a static resource. From the Angular application, I make remoting calls to Apex methods using LCC.callApex. However, ...
Arkan Mansuri's user avatar
1 vote
1 answer
245 views

Salesforce with Angular Js

I am not familiar with Angular js. I have few qestions: a) How to pass the Query param from angular js to salesforce? b) Here with my code and it is not working. VF Page: <apex:page ...
krishna's user avatar
  • 27
1 vote
1 answer
2k views

Display picklist values in angular ng-options

I have a custom VisualForce page that has an angular controller running the page. I have a <select> on the page and I'd like to populate the select via the Describe information from the ...
Brian Triplett's user avatar
1 vote
1 answer
203 views

Responsive Input fields with Angular and Bootstrap

I know we have multiple bootstrap and VF page libraries available.But i have a very specific requirement where I want to display all possible input fields of Salesforce on a responsive framework ...
SEuser's user avatar
  • 1,847
1 vote
1 answer
165 views

Angular routeProvider vs UI-Router

Can you use Angular routeProvider with Salesforce? I am having trouble rendering views that are located in the static resources zip. Would it be better to use UI Router?
WesW's user avatar
  • 11
1 vote
1 answer
315 views

Installing ngForce

I've been embarking on the wonderous journey of learning AngularJS for Salesforce, and I've been trying to work out how to install ngForce on my sandbox org. I've seen this question but as I don't ...
Charlotte G's user avatar
1 vote
0 answers
3k views

Getting a 404 error while trying to connect backend Api from the Heroku deployed Angular Api

I have successfully deployed my angular app onto Heroku. I have implemented the proxy.conf.json file to connect to the Backend API (which is also deployed in Heroku and its a Java JAX-RS REST API) and ...
Sumitra Ojha's user avatar
1 vote
0 answers
133 views

Migration of existing forcehybrid apps from AngularJS to Angular

We have an existing app running on Cordova 9.0.0, forcehybrid CLI 7.3.0 and Salesforce SDK 7.2.0 which is built using AngularJS v1.7.5. As it is known that AngularJS is deprecated and is not actively ...
Vikram Singh's user avatar