A collection of directives for managing the <title /> of an AngularJS application.
- Mark the element that you'd like to use as your title with
the
ng-auto-titledirective; usually this will be<title />.
| remote: canceling statement due to conflict with recovery | |
| remote: LINE 1: ...er"."date_joined" FROM "bb_repository" INNER JOIN "auth_user... | |
| remote: ^ | |
| remote: DETAIL: User was holding a relation lock for too long. | |
| remote: |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="https://code.angularjs.org/1.3.0-beta.17/angular.min.js"></script> | |
| <script> | |
| var app = angular.module('app', []); | |
| app.controller('ctrl', [ | |
| '$scope', |
| File "/srv/python-environments/fareharbor/lib/python2.7/site-packages/balanced/resources.py", line 1242, in add_card | |
| self.save() | |
| File "/srv/python-environments/fareharbor/lib/python2.7/site-packages/balanced/resources.py", line 320, in save | |
| resource = method(uri, data=instance_attributes) | |
| File "/srv/python-environments/fareharbor/lib/python2.7/site-packages/balanced/_http_client.py", line 126, in make_absolute_url | |
| return http_op(client, url, **kwargs) | |
| File "/srv/python-environments/fareharbor/lib/python2.7/site-packages/balanced/_http_client.py", line 162, in put | |
| resp = self.interface.put(uri, data=data, **kwargs) | |
| File "/srv/python-environments/fareharbor/lib/python2.7/site-packages/requests/sessions.py", line 387, in put | |
| return self.request('PUT', url, data=data, **kwargs) |
| # Caveat emptor and all of that; apologies for mistakes. | |
| class InlineStylesTreeprocessor(Treeprocessor): | |
| """ | |
| A treeprocessor that recursively applies inline styles | |
| to all elements of a given tree. | |
| """ | |
| def __init__(self, styles): | |
| self.styles = styles | |
| // Return `document` for running application. | |
| angular.scenario.dsl('doc', function(){ | |
| return function(){ | |
| return this.application.getWindow_().document; | |
| }; | |
| }); | |
| // Return `jQuery(document.body)` for running application; | |
| // requires you to have included your own copy of jQuery. | |
| var body = function(){ |