Skip to content

Instantly share code, notes, and snippets.

@Frelseren
Created February 10, 2018 18:10
Show Gist options
  • Save Frelseren/365fedaaf6d6f0bd3e3336136a692f7d to your computer and use it in GitHub Desktop.
Save Frelseren/365fedaaf6d6f0bd3e3336136a692f7d to your computer and use it in GitHub Desktop.
AngularPOC Visualforce page Web Service
<apex:page standardStylesheets="false" sidebar="false" showHeader="false"
applyBodyTag="false" applyHtmlTag="false" docType="html-5.0">
<html>
<head>
<meta charset="utf-8" />
<title>Meetup</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="{!$Resource.AngularPOC + '/favicon.ico'}" />
<link rel="stylesheet" type="text/css" href="{!$Resource.AngularPOC + '/assets/main.css'}" />
</head>
<body>
<app-root>Loading...</app-root>
<script src="/soap/ajax/21.0/connection.js" />
<script src="/soap/ajax/21.0/apex.js" />
<script>
sforce.connection.sessionId = '{!$Api.Session_ID}';
</script>
<script src="{!$Resource.AngularPOC + '/inline.bundle.js'}"></script>
<script src="{!$Resource.AngularPOC + '/polyfills.bundle.js'}"></script>
<script src="{!$Resource.AngularPOC + '/vendor.bundle.js'}"></script>
<script src="{!$Resource.AngularPOC + '/main.bundle.js'}"></script>
</body>
</html>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment