Display saved queries by the given user (type: twigkit.social.model.Profile).
title (optional)
string
If set, title will be used displayed above bookmarks
allow-saving (optional)
string
If set to false the save search input will not be shown
date-format (optional)
string
Format to use for the saved query created date. Default: dd/MM/yyyy h:mma. See #/api/lightning.filter:dateFormat[date format filter] for valid formats.
When a query is deleted this event is broadcast so that any custom
alerts or functions can be run afterwards like the example below.
angular.module('twigkitLightApp').controller('MainCtrl', ['$scope', function ($scope) { $scope.$on('savedQueryDeleted',function(){ alert('Query has been deleted.'); });}]);