Created
October 29, 2016 18:58
-
-
Save watzon/0f0e5e98c4eadc08eb4949db0284e5fe to your computer and use it in GitHub Desktop.
Snippet for article on Medium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
global class AngularAppController { | |
@RemoteAction | |
WebService static List<sObject> executeQuery(String query) { | |
return Database.query(query); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment