Air9

And it's turtles all the way down...

⇝

Air9

And it's turtles all the way down...

ionic 使用 popover 时的一点小问题

2016-09-27

使用 ionic 附带的 ngResource 时需要在 index.html 中加上

<script src="lib/ionic/js/angular/angular-resource.js"></script>

否则会报错

另外,官方文档中关于使用popover独立 html 模板的格式有点小问题:

<script id="my-popover.html" type="text/ng-template">
<ion-popover-view>
<ion-header-bar>
<h1 class="title">My Popover Title</h1>
</ion-header-bar>
<ion-content>
Hello!
</ion-content>
</ion-popover-view>
</script>

需改为

<ion-popover-view>
<ion-header-bar>
<h1 class="title">My Popover Title</h1>
</ion-header-bar>
<ion-content>
Hello!qwew
</ion-content>
</ion-popover-view>

否则会无法找到对应 template 而产生Error: popoverEle[0] is undefined

  • JavaScript
  • AngularJS
  • ngResource
  • ionic
  • ionic

扫一扫,分享到微信

微信分享二维码
idapython-elf-gadget
Code Smell
© 2018 Air9
Hexo Theme Yilia by Litten
  • ⇝

tag:

  • Privoxy
  • Shadowsocks
  • gfw
  • Coursera
  • JavaScript
  • AngularJS
  • ngResource
  • Python
  • Flask-SQLAlchemy
  • Alembic
  • Flask-Migrate
  • Flask
  • relationship
  • backref
  • Linux
  • x86
  • elf
  • main
  • libc
  • start
  • init
  • gdb
  • sorted
  • key
  • Closure
  • Decorator
  • func_defaults
  • Q
  • asm
  • align
  • capstone
  • ida
  • Spider
  • ThreadPool
  • logging
  • argparse
  • sqlite
  • requests
  • doctest
  • SublimeREPL
  • ExpandRegion
  • Anaconda
  • MarkdownEditing
  • Archlinux
  • pip
  • vmtools
  • bootstrap
  • keyboard
  • tagIndex
  • Brackets
  • gulp
  • browser-sync
  • python
  • ropgadget
  • Refactoring
  • git
  • github
  • ssh
  • hexo
  • rss
  • sitemap
  • idapython
  • idc
  • ionic
  • rop
  • keystone
  • unicorn
  • Mac
  • mongodb
  • MySQL
  • UTF-8
  • markdown
  • evernote
  • sublime
  • vscode
  • proxy
  • iTerm
  • polipo
  • Charles
  • 科学上网
  • Powerline
  • cookbook
  • closure
  • factory
  • string
  • python-magic
  • mime
  • apt-get
  • raspi
  • ANSI
  • termcolor
  • colorama
  • redis
  • brew
  • tmux
  • 字符集
  • 编码
  • ASCII
  • Unicode

    缺失模块。
    1、请确保node版本大于6.2
    2、在博客根目录(注意不是yilia根目录)执行以下命令:
    npm i hexo-generator-json-content --save

    3、在根目录_config.yml里添加配置:

      jsonContent:
        meta: false
        pages: false
        posts:
          title: true
          date: true
          path: true
          text: false
          raw: false
          content: false
          slug: false
          updated: false
          comments: false
          link: false
          permalink: false
          excerpt: false
          categories: false
          tags: true
    

  • 树莓派初体验

    2018-05-19

    #raspi

  • Markdown 同步 Evernote

    2017-06-01

    #markdown#evernote#sublime#vscode

  • polipo+ss实现 iTerm2 终端科学上网

    2017-04-03

    #Shadowsocks#proxy#iTerm#polipo#Charles#科学上网

  • Linux x86 elf 程序启动过程

    2017-03-16

    #Linux#x86#elf#main#libc#start#init#gdb

  • keystone

    2016-11-30

    #capstone#python#rop#keystone#unicorn

  • Python 控制终端输出颜色 & ANSI 控制码

    2016-10-12

    #Python#ANSI#termcolor#colorama

  • python-magic has no attribute 'from_file'

    2016-10-11

    #Python#pip#python-magic#mime#apt-get

  • idapython-elf-gadget

    2016-10-08

    #ida#python#idapython

  • ionic 使用 popover 时的一点小问题

    2016-09-27

    #JavaScript#AngularJS#ngResource#ionic

  • Code Smell

    2016-09-25

    #Refactoring

  • Mac 安装 mongodb

    2016-09-22

    #Mac#mongodb

  • 命令行调用 idapython 脚本

    2016-09-20

    #ida#python#idapython#idc

  • Mac 下使用 homebrew 安装 redis

    2016-09-12

    #Mac#redis#brew

  • Q 判断 Gadget 时遇到 align 伪指令的问题

    2016-08-23

    #Q#asm#align#capstone#ida

  • Flask-SQLAlchemy 中的 relationship & backref

    2016-08-16

    #Flask-SQLAlchemy#Flask#relationship#backref

  • hexo-rss-sitemap

    2016-07-28

    #hexo#rss#sitemap

  • Python 中的闭包与装饰器

    2016-07-25

    #Python#Closure#Decorator#func_defaults

  • 字符集与编码

    2016-07-06

    #Python#UTF-8#ANSI#字符集#编码#ASCII#Unicode

  • AngularJS-ngResource-save

    2016-07-06

    #Coursera#JavaScript#AngularJS#ngResource

  • brackets-live-preview-gulp

    2016-07-05

    #Coursera#JavaScript#AngularJS#Brackets#gulp#browser-sync

  • bootstrap-keyboard-tagIndex

    2016-06-28

    #Coursera#JavaScript#bootstrap#keyboard#tagIndex

  • Permission denied (publickey)

    2016-06-16

    #git#github#ssh

  • Python-Cookbook-1.09 简化 translate 方法

    2016-05-25

    #Python#cookbook#closure#factory#string

  • Python-sorted函数中key的用法

    2016-05-19

    #Python#sorted#key

  • Flask 数据库更新问题

    2016-05-16

    #Python#Flask-SQLAlchemy#Alembic#Flask-Migrate

  • Spider-07-doctest

    2016-04-08

    #Python#Spider#doctest

  • Mac 安装 MySQL 并设置 utf-8

    2016-04-07

    #MySQL#UTF-8

  • Spider-06-requests

    2016-04-07

    #Python#Spider#requests

  • Spider-05-Spider

    2016-04-06

    #Python#Spider

  • Sublime Preferences

    2016-04-05

    #SublimeREPL#ExpandRegion#Anaconda#MarkdownEditing

  • Spider-04-sqlite3

    2016-04-05

    #Python#Spider#sqlite

  • Spider-03-argparse

    2016-04-04

    #Python#Spider#argparse

  • Spider-02-logging

    2016-04-03

    #Python#Spider#logging

  • Spider-01-MyThreadPool

    2016-04-02

    #Python#Spider#ThreadPool

  • ropgadget capstone

    2016-03-10

    #capstone#python#ropgadget

  • hexo github

    2016-03-09

    #git#github#hexo

  • 10.11 privoxy [Errno 61] Connection refused

    2016-03-09

    #Privoxy#Shadowsocks#gfw

  • arch vmtools

    2016-03-09

    #Archlinux#vmtools

  • arch gdb pip ropgadget

    2016-03-09

    #gdb#Archlinux#pip

  • tmux copy2clipboard

    2016-03-09

    #Archlinux#tmux

  • iTerm下配置Powerline

    2016-03-09

    #iTerm#Powerline