Skip to content

Instantly share code, notes, and snippets.

View yesh0907's full-sized avatar

Yesh Chandiramani yesh0907

  • UC Santa Cruz
  • The Internet
View GitHub Profile
$scope.addContact = function(contact) {
$ionicPopup.show({
template: '<input type="text" ng-model="data.contact" placeholder="Username">',
title: "Username of Contact that you wish to add: ",
scope: $scope,
buttons: [
{ text: "Cancel" },
{
text: '<b>Save</b>',
type: 'button-positive',
@yesh0907
yesh0907 / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../ace-element/ace-element.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
@yesh0907
yesh0907 / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
@yesh0907
yesh0907 / designer.html
Last active August 29, 2015 14:11
designer
<!--
Copyright 2013 The Polymer Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
-->
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="x-abstract-editor" attributes="value">
<script>
Polymer('x-abstract-editor', {
@yesh0907
yesh0907 / designer.html
Last active August 29, 2015 14:11
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-menu/core-submenu.html">