As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [angularjs]

AngularJS is a JavaScript-based open-source front-end web application framework mainly maintained by Google and by a community of individuals and corporations to address many of the challenges encountered in developing single-page applications

Filter by
Sorted by
Tagged with
14 votes
3 answers
10k views

Modern JavaScript Frameworks (Angular Js, React JS ) within LWC

As documented on the below link, https://developer.salesforce.com/docs/component-library/documentation/lwc/lwc.get_started_supported_javascript Lightning Web Components Javascript support includes :...
Rushikesh Pandit's user avatar
13 votes
2 answers
7k views

Use of Javascript Frameworks in Lightning Web Component

Is there any documentation available for recommended JavaScript Frameworks (Angular JS, React JS, etc.), which can work well with Lightning Web Component? Most of the places, I found that it supports ...
Ashish's user avatar
  • 2,362
11 votes
1 answer
3k views

AngularJS 4 on Visualforce Pages (or in Lightning Components)?

Some time ago we used Angular 1.x on Visualforce pages for several apps. Now some of these Apps are aged and more or less in need of redesign. This redesign is not because of any actual shortcomings ...
Uwe Heim's user avatar
  • 34.1k
9 votes
1 answer
291 views

Angular Visualforce is freezing in IPad

Background We have a simple VF page that is made using AngularJS+Bootstrap. The page works perfect in browsers (Desktop, Mobile, Iphone and Android S1 app). There is not errors (javascript or apex)...
Martin Borthiry's user avatar
6 votes
1 answer
566 views

Native JS Map prototype is overwritten in Visualforce page w/ a header

I've been exploring implementing Angular 2.0 in Salesforce custom pages and found that if I set showHeader=true in the VF page, I run into some issues. It looks like including the header loads "sfdc/...
Victor Carreon's user avatar
6 votes
2 answers
2k views

Is it possible to use Angular and still be Lightning ready?

I've built a Lightning app and just finished my first Angular app on Salesforce yesterday. Overall, I love Angular development compared to Lightning. There is more support, docs, and a larger ...
Tyler Zika's user avatar
  • 2,788
5 votes
1 answer
2k views

using angularui ui-router, how can I reference inline angularjs templates in a visualforce page?

I have a question similar to Visualforce + Angular JS, ui-router not working; however, I'm looking to access inline templates, but cannot do so even though there are no console errors. I've converted ...
John Hernandez's user avatar
5 votes
1 answer
749 views

How to install ngForce?

I want to try ngForce - there is one problem though - I'm pretty new to Salesforce and I really don't know how to install it. Does anybody have any tutorial or howto with install steps explained? I'...
mkubacki's user avatar
  • 269
4 votes
1 answer
2k views

Javascript Remoting returning JSON with encoded characters. For example &amp

I have an @remoteaction method that returns a list of custom objects and respective child objects. On client I am using AngularJS to display this array. Since it's a remoteaction Salesforce will ...
JD_06's user avatar
  • 13
4 votes
2 answers
1k views

How to overcome delay in data load when using AngularJS in a VF page

I have a VF page that uses the AngularJS framework. I am not convinced that I am initializing my page correctly and would like to know what best practice actually is. Current page init process VF ...
Joe's user avatar
  • 3,413
4 votes
3 answers
2k views

New to Using Remote Action with Angular JS

I need help with this code can someone please suggest what must I do to bring the names of contacts in the table on page load. What I have done is I saw this http://www.saaspie.com/2015/03/27/...
Mujtaba Talpur's user avatar
4 votes
3 answers
2k views

AngularJS with Salesforce

This is probably the most basic question. How do i get started with AngularJS in Salesforce. I need to build a SPA using angularJS. I can learn angularJS, there are plenty of tutorials. But how do i ...
user21352's user avatar
  • 277
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,777
4 votes
1 answer
177 views

AngularJS and VisualForce/SFDC

I am curious how people handle the angular templating engine while using visualforce. The issue is that if you have a static resource and you use a templateUrl for a directive, or even a route. ...
Dennis Mohan's user avatar
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
4 votes
1 answer
354 views

About table and SLDS

We're working in a wizard implemented in angularjs + slds. There's an autocomplete widget based on [angucomplete-alt] component and the component is embeded in a <table>. But when the user types ...
Matias Kruk's user avatar
3 votes
2 answers
857 views

How can I save a date field from JavaScript?

I want to save a date datatype field in salesforce from angularjs form. It is giving me error saying invalid date format. Here is my code: <div class='input-group date' id='assignWODate'> &...
Ejaz's user avatar
  • 341
3 votes
1 answer
574 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,777
3 votes
1 answer
896 views

Angular Service with Remote Object

I'm getting an error that I've Googled a bunch and I'm getting nowhere. Here's the code: VF Page: <apex:page controller="registrationController" showHeader="false" sidebar="false" ...
Zakk Tapp's user avatar
  • 419
3 votes
1 answer
371 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
2 answers
372 views

How to prevent SF1 from re-writing hrefs?

I'm working on an JS on VF app that utilizes hashtag routing ie: https://c.na17.visual.force.com/apex/ionicOne#app/account/001o0000006w1pBAAQ When I Access my app via Visualforce: ie: /apex/ionicOne ...
Kevin P's user avatar
  • 7,158
3 votes
2 answers
597 views

received the code but not able to get access token in Salesforce using angular js

I am a beginner in angular js and Salesforce. I am trying to build an application which implements the give link step by step. https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/...
Karthik Nagaraj's user avatar
3 votes
1 answer
772 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,777
3 votes
0 answers
1k views

angularJS in lightning component

I was wondering if anyone had any example of using AngularJS in lightning components. I'm able to handel js code using static resource but getting problem in .cmp file how to use their CDATA is also ...
Ashwani Kumar's user avatar
3 votes
0 answers
180 views

I can't patch a salesforce object using angular and REST api

I'm trying to patch a salesforce object using angular, but am getting no where. Every time I get a nondescript error. salesforce.patch = function(resource, contentType, data) { var http = angular....
Dan Nelson's user avatar
3 votes
3 answers
209 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
0 answers
414 views

Using Polymer for Material Design in VisualForce Pages?

I am thinking of using Google's Polymer Library to provide Material Design in apps. Google Polymer Library I have a few questions?: Is it compatible with Salesforce? If yes, is there any running ...
Master's user avatar
  • 133
2 votes
2 answers
870 views

JS Remoting + Angular Ng-File-Upload

I was wondering if anyone had any examples using AngularJS + NgFileUpload and a @RemoteAction that handles base64 encoded file-data to create a drag & drop uploader? I have JS handler that works ...
jordan.baucke's user avatar
2 votes
1 answer
2k views

Visualforce is not defined while using visual force remoting

I am using angular as a framework for this visualforce app, however when I try to use Visualforce remoting I get an error in the console angular.min.js:123 ReferenceError: Visualforce is not ...
TemporaryFix's user avatar
  • 2,827
2 votes
1 answer
179 views

What are security review's policy regarding apps that rely heavily on the REST API?

For example, if an app uses the JSforce framework to develop a page that uses AngularJS, could it be blocked because of this? I'm wondering because some parts of the code would have queries and other ...
Renato Oliveira's user avatar
2 votes
2 answers
3k views

How to call a controller method from AngularJS

I'm loading the tree-view structure as shown below when the user clicks on the parent/child it spit on the console.log but i'm not sure how to pass the clicked parent/child node to apex controller ...
Nick's user avatar
  • 6,844
2 votes
1 answer
555 views

AngularJS routing in VF page giving error

I am trying to use AngularJs routing in Visualforce page. I have my file structure as mentioned below: -AngularApp (static resource) -app ---controllers ---directives ---services ---views --app.js I ...
Ejaz's user avatar
  • 341
2 votes
2 answers
2k views

decode Special Character in Angular + Visualforce

My Object label is D & B Company, this is stored in a list at some place When it comes to visualforce page in angular code, it is showing D&amp;B Company How can handle such type of special ...
Yogesh Gupta's user avatar
2 votes
1 answer
2k views

Cannot find module 'forcejs'. while using angular 2 in ionic 2

I am working as a noob on my ionic 2 / ang 2 application. I am trying to set it up to use forcejs auth implementation. Now I create a basic app following the ionic 2 tutorial here - http://...
SEuser's user avatar
  • 1,777
2 votes
1 answer
703 views

Angularjs not rendering with Visualforce Remoting

I am not sure where the error is but my angularjs is not being detected. Below is my HTML and Angularjs <apex:page controller="ApexRemoteInvokeManagerController" docType="html-5.0" sidebar="...
kewlguy's user avatar
  • 53
2 votes
1 answer
5k views

JSON Unexpected character ('P' (code 80)) [duplicate]

I'm working with JSON and I got this error when the page deserializes it: Unexpected character ('P' (code 80)): was expecting comma to separate OBJECT entries at [line:1, column:4074] I write you ...
DarkSkull's user avatar
  • 1,559
2 votes
0 answers
673 views

Material Design in Aura Components

Does anyone know how can I use the Google Material design in the Aura Components? I have included all the required file like fonts, icons, css and js from the static resource. But, when i try to add ...
AKSHAY Dhiman's user avatar
2 votes
1 answer
106 views

remoteObjectModel with Angular: Transform get() to dot notation

I have defined an <apex:remoteObjectModel> in my .page file and can access custom objects through new SObjectModel.ObjectName().retrieve(). However, the fields in these objects are accessed as ...
Simon Fischer's user avatar
2 votes
0 answers
546 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
2 votes
1 answer
4k views

Remove leading and trailing white space from dynamic JSON in angularjs [closed]

I am facing issue while fetching JSON string dynamically using angularjs. Here is one instance where I am facing this issue - If a user enters any value on the UI in a textarea as follows: <...
juhi's user avatar
  • 187
2 votes
1 answer
899 views

Problem with searching in AngularJS in Visualforce

I tried to edit this code http://www.oyecode.com/2013/06/getting-started-with-angularjs-on.html, that implements a table in angualarJS with filtering and sorting functions. Sortiting works fine but ...
DarkSkull's user avatar
  • 1,559
1 vote
2 answers
545 views

Redirecting to VF Page from Managed Package UI

I want to redirect user to a VF Page from a managed Package UI where code is written in Angular JS, <div class="slds-no-flex"> <span><button class="slds-button slds-button" onclick=...
Dexter D's user avatar
  • 173
1 vote
2 answers
1k views

Application Cache Error event: Failed to parse manifest

I am trying to load an application built using angularjs and salesforce with offline capabality. For this functionality i am using Offline Caching Using the HTML5 manifest Attribute provided by ...
Ejaz's user avatar
  • 341
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
2 answers
77 views

Change the code to reduce callback

Below is the functionality my code achieves currently Get the customer site . If customer site exists then check if latitude and longitude exist and if all is true then open the Locator with given ...
user5129806's user avatar
1 vote
1 answer
150 views

How are lookup fields implemented with a 3rd party framework?

I am using Angular for a VisualForce page but would still like to leverage some of the VisualForce components that it provides. For example I have a lookup bound to an angular variable <apex:...
TemporaryFix's user avatar
  • 2,827
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,017
1 vote
1 answer
899 views

Angular js change type of input box

I am running into an issue while determining the type of input box. I have a table in angular and when I change the type of input box it changes the type of all the input boxes in that column. I want ...
user5129806's user avatar
1 vote
2 answers
140 views

Security question related to using AngularJS in Visualforce for a callout

I recently started learning AngularJS, and I have the following sample code that does a REST callout from a Visualforce page - the code does a successful callout. My question: In the 'app.config' ...
James's user avatar
  • 749
1 vote
1 answer
747 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,777