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

34 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
190 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
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
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
0 answers
695 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
116 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
569 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
0 answers
121 views

How to connect local Angular with Scratch org

I am working on an integration between a Portal written in Angular and a Salesforce Org. To better test this during development I want to connect my local Angular code with my scratch org. To receive ...
Natalia Popova's user avatar
1 vote
0 answers
768 views

Inject Angular JS in LWC

We have a proper Angular JS 1.4 application with App, Controller and service layers that works in VF page which we need to replicate exactly in LWC. We have tried using LWC:dom="manual" to ...
Selva Prabhu's user avatar
1 vote
0 answers
128 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
1 vote
0 answers
76 views

Building managed package using JS frameworks/library

I'm trying to do an analysis of an existing managed package that we have built currently we have a bunch of VF pages and Lightning Components. At end of this analysis, we want to determine which JS ...
d_k's user avatar
  • 1,291
1 vote
0 answers
976 views

Display data in a nested table in angular

I am using Lightning in salesforce along with angular. I have below object [{"day":"Wednesday, June 28th 2017"},{"day":"Thursday, June 29th 2017"},{"day":"Friday, June 30th 2017"},{"day":"Saturday, ...
user5129806's user avatar
1 vote
0 answers
444 views

Angular JS + VF component binding

I have the following scenario: VF page: <div ng-controller="listingGeneratorCtrl"> <div> <div id="rightColumn"> <div ng-repeat="section ...
Marcel's user avatar
  • 55
1 vote
1 answer
74 views

Inline Visualforce page with AngularJS Templates throwing CORS Error

I'm working on an embedded VF page single page app and attempting to setup routes using ui.router ($stateProvider). I would like to break apart my views into inline templates but place them outside ...
user avatar
1 vote
0 answers
462 views

change AngularJs redirection link

I have a small problem, when i run a visualforce page(called QuizAngular) with a angularjs code inside i get the following link *****/apex/QuizAngular#/homewith a '#' added in the link which cause an ...
Merabti iBRAHIM's user avatar
1 vote
0 answers
121 views

Image upload in AngularJs

Is there any good practice for uploading an image through AngularJs in salesforce without using the third party plugins.
Rv1's user avatar
  • 742
1 vote
1 answer
281 views

oAuth2 auth from AngularJS for Chatter API with AngularJS

I have an AngularJS app in a VF page which will be interacting with the ChatterAPI. Obviously just making a request with Resource returns a 403 since I am not authenticated. The only info I can find ...
tekstrand's user avatar
  • 169
1 vote
0 answers
906 views

How to show a custom label with an empty value in an option of select tag in Angularjs in vf page?

I hav a problem when I create a picklist with angular in Visualforce Page. The code is below. Javascript $scope.plApp = {countries: ["UK", "AU", "US"], ctry: ""}; Markup <select class="...
Leisure's user avatar
  • 407
1 vote
0 answers
84 views

Grunt Failed to send request to test.salesforce.com while installing ngForce

I am pretty new to salesforce. Just trying to install the Angular ngForce into my developer edition of salesforce, I am getting the error as below "BUILD FAILED C:\salesforce.training\...
user3218918's user avatar
1 vote
0 answers
172 views

Create a modal with angular and VF

I want to create a modal window where I can use input fields etc but all these should be in a modal like https://angular-ui.github.io/bootstrap/#/modal I am currently facing issue same as "Error:...
SEuser's user avatar
  • 1,835
1 vote
0 answers
52 views

angular resource in managed package

My company has a set of reusable angular directives in a managed package. I want to use them in my app but it doesn't seem to be working. The directive in question is a datapicker. that looks like ...
Brian Triplett's user avatar
1 vote
0 answers
136 views

How to get cloud service TabId in angularJS visualforce page

I have added visualforce page in service cloud console app and the page developed with AngularJS. Facing an issue with to not getting the opened tab id in my angularJS page. <apex:page > ...
apKash's user avatar
  • 95
1 vote
0 answers
119 views

How test Angular Salesforce page, body content using phantomjs

I'm trying to test a Salesforce page using Phantomjs, I'm able to get everything BUT anything inside my html-data-ui-view="" attribute. Is there anyway to get the body content? And yes I've seen ...
GARPdev's user avatar
  • 11
0 votes
0 answers
34 views

Weird Behavior on cloning object in visualforce

I'm having some weird issue where I'm trying to make a deep copy of an object on a button click, but when I do it rotates between a successful clone, and a copy of the object without any of the nested ...
Kevin Yao's user avatar
  • 105
0 votes
0 answers
173 views

Pass custom function response in model popup in VF page using Angular JS?

I have created a Visualforce page and i am using Angular js in it.In Angluar js by using Javascript remoting call Apex method.Now i want to pass apex method response in model popup when click on ...
jsmith's user avatar
  • 155
0 votes
1 answer
407 views

AngularJS ui-router/session error handling

I have a single page application utilizing angular and ui-router for our community users on our community site. All works great until their session is invalidated (they logout) or it times out. At ...
Kevin B's user avatar
  • 77
0 votes
0 answers
185 views

Lookup field not accessible

We are using angular to display UI and Salesforce is being used to maintain database. We have a REST API class created which has the url Mapping. This class is used to find the records. We are using '...
Salesforce Learner's user avatar
0 votes
0 answers
132 views

Display Data in visual force page using angular

I have a below table <tr ng-repeat="r in rows"> <td>{{$index+1}}</td> <td> <select ng-model="r.selectedObjectRowData" ng-options="option....
user5129806's user avatar
0 votes
0 answers
87 views

ngForce integration to salesforce org

I have gone through the videos and gitrepo which are suggested here I clone this directory in my local drive, as you can see below Now I follow the steps which are described here 1) rooted my cmd ...
Dheeraj_Vashist's user avatar
0 votes
1 answer
125 views

Visualforce actionFunction params not being set in Controller

I'm having trouble passing data from my AngularJS controller on my Visualforce page to the Apex Controller. I've created an actionFunction on the VF page: <apex:form> <apex:...
jonnybro's user avatar
  • 1,774
0 votes
1 answer
699 views

How to check for duplicate values before insert in visualforce remote objects?

How can i check for duplicate values while inserting data in salesforce using Visualforce Remote Objects. Here is my code: //Get form values. var woDetails = { Case__c: $scope.caseId, ...
Ejaz's user avatar
  • 341
0 votes
0 answers
1k views

How to navigate using navigation menu in angular js routing on visualforce page salesforce?

I am using navigation menu in angularjs. I am unable to navigate to partial html pages. How can i achieve the same. How can i navigate to specific vf page. My folder structure is as follows; ...
Ejaz's user avatar
  • 341
0 votes
0 answers
4k views

Angular Js ng-click issue. Function called only on second click

I am dynamically creating an html in a callback function and placing it into a directive. In the directive I run compile so that my dynamic html can be part of my angular ecosystem. The problem is ...
Terry V's user avatar
  • 23
0 votes
1 answer
549 views

Salesforce with AngularJS - script resources not loading correctly from staticresource

<apex:page applyBodyTag="false" docType="html-5.0" showHeader="false" standardStylesheets="false"> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.13/angular.min.js"></...
JJSHHS's user avatar
  • 505