Questions tagged [angular]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
57 views

Building Angular and React components

I have been through tons of documents, searching the web I came across some resources but it hasn't really helped me. I want to know how to ship an Angular and a React application (step by step) to ...
0
votes
1answer
38 views

Securely handle Salesforce Access token after OAth

We are developing an angular2 app which authenticates with Salesforce via OAth's user-agent flow. As of now, we are storing the "access token" in the browser's local storage. The main problem we are ...
1
vote
0answers
113 views

Combine Lightning with Javascript libraries (React, Angular2) [closed]

We're rewriting our old Salesforce site (based on VF pages) for the new era. We have a lot of logic in our controllers that we want to shift to client-side. We want to create a Salesforce community ...
1
vote
2answers
2k 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 ...
0
votes
1answer
94 views

Angular JS within visualforce [closed]

Hi This is a generic question I was looking through a piece of code and came across the following within a visualforce page. Can anyone give me any ideas as to what it means exactly. It looks like ...
3
votes
1answer
277 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 ...
1
vote
1answer
406 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 ...
1
vote
1answer
119 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 ...
1
vote
0answers
273 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 ...
1
vote
4answers
1k 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. ...
2
votes
1answer
46 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 ...
9
votes
2answers
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 ...
4
votes
2answers
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="{!...
1
vote
1answer
1k 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 ...
1
vote
1answer
653 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 ...
-1
votes
1answer
341 views

UI Router not working in Visual Force Page

<apex:page standardStylesheets="false" cache="false" showHeader="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0"> <body ng-app="uiTest"> <a ui-...
1
vote
1answer
180 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 ...
1
vote
0answers
142 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:...
4
votes
2answers
6k 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 ...
0
votes
0answers
154 views

Angularjs with using Salesforce Ajax Toolkit

I am trying to write a VF page using Angularjs with salesforce Ajax Toolkit. However I am continuously greeted with following error. {Cross-Origin Request Blocked: The Same Origin Policy disallows ...
6
votes
2answers
1k 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 ...
1
vote
1answer
148 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?
2
votes
0answers
477 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&...
1
vote
1answer
433 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 ...
2
votes
2answers
2k 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 ...
3
votes
1answer
490 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 ...
3
votes
1answer
673 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 ...
0
votes
3answers
15k views

Simple Angular function returning as string [closed]

I am trying to create a simple Angular code base where I am trying to concatenate 2 different values in a angular controller method, but it returns the complete method as its value rather than ...
0
votes
0answers
43 views

Salesforce1 scripts problem lightning

So I have implemented a script that uses angular as well, however when I use {{1+1}} it does nothing, also it shows me a warning that is created inside the Javascript file(we created it too show that ...
1
vote
4answers
7k 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(...
3
votes
3answers
197 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.
10
votes
2answers
5k 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:...
3
votes
1answer
984 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 ...
1
vote
1answer
299 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 ...
3
votes
1answer
1k 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 ...
3
votes
1answer
361 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 ...
7
votes
2answers
367 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 ...
1
vote
0answers
386 views

Apex REST CORS request

I'm getting an error upon calling my REST endpoint from a visualforce page with Angular. My error is this: XMLHttpRequest cannot load https://... A wildcard '*' cannot be used in the 'Access-...
1
vote
1answer
195 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 ...
0
votes
2answers
556 views

Angular.js app as a staticresource in Salesforce.com

In Salesforce.com with angular.js app. How do I load a zipped file into staticresource without the .zip extension? I installed the angular mobile pack from https://developer.salesforce.com/mobile/...
1
vote
1answer
473 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 ...
3
votes
1answer
248 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, ...
3
votes
2answers
975 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 ...
0
votes
0answers
427 views

AngularJS app in Community

Is it possible to build an AngularJS app for Community user? I have followed this guide and successfully setup an AngularJS app for internal user. However when I want to move it to Community, the ...
0
votes
2answers
129 views

Can I check for a Custom Setting in an Angular ng-show directive?

I'm working on an Angular project within Salesforce, I have a custom setting which determines whether or not certain elements on my page display or not, <apex:outputLink rendered="{!...
7
votes
2answers
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 ...
4
votes
1answer
642 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 ...
3
votes
2answers
479 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" ...
4
votes
1answer
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 ...
3
votes
0answers
216 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 ...